org.apache.directory.shared.ldap.message
Class ArrayNamingEnumeration

java.lang.Object
  extended byorg.apache.directory.shared.ldap.message.ArrayNamingEnumeration
All Implemented Interfaces:
java.util.Enumeration, javax.naming.NamingEnumeration

public class ArrayNamingEnumeration
extends java.lang.Object
implements javax.naming.NamingEnumeration

A NamingEnumeration over an array of objects.

Version:
$Rev: 379008 $
Author:
Apache Directory Project

Constructor Summary
ArrayNamingEnumeration(java.lang.Object[] objects)
          Creates a NamingEnumeration over an array of objects.
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 java.lang.Object next()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayNamingEnumeration

public ArrayNamingEnumeration(java.lang.Object[] objects)
Creates a NamingEnumeration over an array of objects.

Parameters:
objects - the objects to enumerate over
Method Detail

close

public void close()
Specified by:
close in interface javax.naming.NamingEnumeration

hasMore

public boolean hasMore()
Specified by:
hasMore in interface javax.naming.NamingEnumeration

next

public java.lang.Object next()
Specified by:
next in interface javax.naming.NamingEnumeration

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration


Copyright © 2003-2006 . All Rights Reserved.