Class EnumerationIterator<T>
java.lang.Object
org.codehaus.commons.compiler.util.iterator.EnumerationIterator<T>
- Type Parameters:
T- The element type of the enumeration and the iterator
- All Implemented Interfaces:
Iterator<T>
An
Iterator that iterates over the elements of an Enumeration.-
Field Summary
Fields -
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
e
-
-
Constructor Details
-
EnumerationIterator
-
-
Method Details
-
hasNext
-
next
-
remove
public void remove()SinceEnumerations don't support element removal, this method always throws anUnsupportedOperationException.
-