public class IteratorNamingEnumeration<T> extends Object implements NamingEnumeration<T>
| Constructor and Description |
|---|
IteratorNamingEnumeration(Iterator<T> iterator)
Creates a NamingEnumeration over an Iterator.
|
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>Enumeration.hasMoreElements()public T nextElement()
nextElement in interface Enumeration<T>Enumeration.nextElement()public void close()
close in interface NamingEnumeration<T>NamingEnumeration.close()public boolean hasMore()
hasMore in interface NamingEnumeration<T>NamingEnumeration.hasMore()public T next()
next in interface NamingEnumeration<T>NamingEnumeration.next()Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.