public static final class CollectionsPlume.EnumerationIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
EnumerationIterator(java.util.Enumeration<T> e)
Create an Iterator that yields the elements of the given Enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
public EnumerationIterator(java.util.Enumeration<T> e)
e - the Enumeration to make into an Iteratorpublic boolean hasNext(@GuardSatisfied CollectionsPlume.EnumerationIterator<T> this)
hasNext in interface java.util.Iterator<T>public T next(@GuardSatisfied CollectionsPlume.EnumerationIterator<T> this)
next in interface java.util.Iterator<T>public void remove(@GuardSatisfied CollectionsPlume.EnumerationIterator<T> this)
remove in interface java.util.Iterator<T>