T - The element type of the enumeration and the iteratorpublic class EnumerationIterator<T> extends Object implements Iterator<T>
Iterator that iterates over the elements of an Enumeration.| Constructor and Description |
|---|
EnumerationIterator(Enumeration<? extends T> e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove()
Since
Enumerations don't support element removal, this method always throws an UnsupportedOperationException. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic EnumerationIterator(Enumeration<? extends T> e)
public void remove()
Enumerations don't support element removal, this method always throws an UnsupportedOperationException.remove in interface Iterator<T>Iterator.remove()Copyright © 2019. All rights reserved.