public class IteratorNamingEnumeration<T> extends Object implements NamingEnumeration<T>
| Constructor and Description |
|---|
IteratorNamingEnumeration(Iterator<T> iterator)
Creates a NamingEnumeration over an Iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore() |
boolean |
hasMoreElements() |
T |
next() |
T |
nextElement() |
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–2016 The Apache Software Foundation. All rights reserved.