org.apache.directory.shared.ldap.message
Class IteratorNamingEnumeration
java.lang.Object
org.apache.directory.shared.ldap.message.IteratorNamingEnumeration
- All Implemented Interfaces:
- Enumeration, NamingEnumeration
public class IteratorNamingEnumeration
- extends Object
- implements NamingEnumeration
A NamingEnumeration over an Iterator.
- Version:
- $Revision: 434411 $
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorNamingEnumeration
public IteratorNamingEnumeration(Iterator a_iterator)
- Creates a NamingEnumeration over an Iterator.
- Parameters:
a_iterator
- the Iterator the NamingEnumeration is based on.
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
- See Also:
Enumeration.hasMoreElements()
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
- See Also:
Enumeration.nextElement()
close
public void close()
- Specified by:
close
in interface NamingEnumeration
- See Also:
NamingEnumeration.close()
hasMore
public boolean hasMore()
- Specified by:
hasMore
in interface NamingEnumeration
- See Also:
NamingEnumeration.hasMore()
next
public Object next()
- Specified by:
next
in interface NamingEnumeration
- See Also:
NamingEnumeration.next()
Copyright © 2004-2012. All Rights Reserved.