org.apache.directory.shared.ldap.message
Class ArrayNamingEnumeration
java.lang.Object
org.apache.directory.shared.ldap.message.ArrayNamingEnumeration
- All Implemented Interfaces:
- Enumeration, NamingEnumeration
public class ArrayNamingEnumeration
- extends Object
- implements NamingEnumeration
A NamingEnumeration over an array of objects.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayNamingEnumeration
public ArrayNamingEnumeration(Object[] objects)
- Creates a NamingEnumeration over an array of objects.
- Parameters:
objects
- the objects to enumerate over
close
public void close()
- Specified by:
close
in interface NamingEnumeration
hasMore
public boolean hasMore()
- Specified by:
hasMore
in interface NamingEnumeration
next
public Object next()
- Specified by:
next
in interface NamingEnumeration
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
Copyright © 2004-2012. All Rights Reserved.