T - Generic type of this EnumerationIteratorpublic class EnumerationIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
EnumerationIterator(java.util.Enumeration<T> enumeration)
Instantiates a new enumeration iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
public EnumerationIterator(java.util.Enumeration<T> enumeration)
enumeration - the enumeration to iterate.public boolean hasNext()
hasNext in interface java.util.Iterator<T>Iterator.hasNext()public T next()
next in interface java.util.Iterator<T>Iterator.next()public void remove()
remove in interface java.util.Iterator<T>Iterator.remove()