Class EnumerationIterator
java.lang.Object
org.codehaus.janino.util.iterator.EnumerationIterator
- All Implemented Interfaces:
Iterator
An
Iterator
that iterates over the elements of an
Enumeration
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
next()
void
remove()
SinceEnumeration
s don't support element removal, this method always throws anUnsupportedOperationException
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EnumerationIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()SinceEnumeration
s don't support element removal, this method always throws anUnsupportedOperationException
.
-