Modifier and Type | Field and Description |
---|---|
private Enumeration |
e |
Constructor and Description |
---|
EnumIterator(Enumeration enumeration)
Constructor declaration
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Checks whether the iterator can scan further by looking at the
underlying
Enumeration . |
Object |
next()
Retrieves the next element in the collection scanned by this
iterator, forwarding the request to the underlying
Enumeration . |
void |
remove()
Remove the element pointed to by this iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private Enumeration e
public EnumIterator(Enumeration enumeration)
public boolean hasNext()
Enumeration
.public Object next()
Enumeration
.