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 TypeMethodDescriptionbooleanhasNext()next()voidremove()SinceEnumerations 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, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EnumerationIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()SinceEnumerations don't support element removal, this method always throws anUnsupportedOperationException.
-