public class EnumerationIterator
extends java.lang.Object
implements java.util.Iterator
Iterator that iterates over the elements of an
Enumeration.| Constructor and Description |
|---|
EnumerationIterator(java.util.Enumeration e) |
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
Enumerations don't support element removal, this method always throws
an UnsupportedOperationException.remove in interface java.util.IteratorIterator.remove()