public class EnumerationIterator extends Object implements Iterator
Iterator that iterates over the elements of an
Enumeration.| Constructor and Description |
|---|
EnumerationIterator(Enumeration e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Object |
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 e)
public void remove()
Enumerations don't support element removal, this method always throws
an UnsupportedOperationException.remove in interface IteratorIterator.remove()Copyright © 2001–2014. All rights reserved.