Class EnumerationIterator<T>
java.lang.Object
org.apache.commons.jexl2.internal.EnumerationIterator<T>
- Type Parameters:
T- the type of object this iterator returns
- All Implemented Interfaces:
Iterator<T>
An Iterator wrapper for an Enumeration.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionEnumerationIterator(Enumeration<T> enumer) Creates a new iteratorwrapper instance for the specified Enumeration. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
EnumerationIterator
Creates a new iteratorwrapper instance for the specified Enumeration.- Parameters:
enumer- The Enumeration to wrap.
-
-
Method Details
-
next
-
hasNext
-
remove
-