Modifier and Type | Field and Description |
---|---|
protected Enumeration |
e |
Constructor and Description |
---|
EnumerationIterator(Enumeration e)
Constructor with the enumeration to wrap as an iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the enumeration
hasMoreElements() . |
Object |
next()
Returns the enumeration
nextElement() . |
void |
remove()
Always throws a java.lang.UnsupportedOperationException.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected Enumeration e
public EnumerationIterator(Enumeration e)
public boolean hasNext()
hasMoreElements()
.public Object next()
nextElement()
.