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

java.lang.Object
  extended by 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

Constructor Summary
IteratorNamingEnumeration(Iterator a_iterator)
          Creates a NamingEnumeration over an Iterator.
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 Object next()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorNamingEnumeration

public IteratorNamingEnumeration(Iterator a_iterator)
Creates a NamingEnumeration over an Iterator.

Parameters:
a_iterator - the Iterator the NamingEnumeration is based on.
Method Detail

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.