Class EnumerationIterator<T>
java.lang.Object
edu.internet2.middleware.grouperClientExt.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
ConstructorDescriptionEnumerationIterator
(Enumeration<T> enumer) Creates a new iteratorwrapper instance for the specified Enumeration. -
Method Summary
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
Creates a new iteratorwrapper instance for the specified Enumeration.- Parameters:
enumer
- The Enumeration to wrap.
-
-
Method Details
-
next
Move to next element in the array. -
hasNext
public boolean hasNext()Check to see if there is another element in the array. -
remove
public void remove()Unimplemented. No analogy in Enumeration
-