|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jexl2.internal.EnumerationIterator<T>
T
- the type of object this iterator returnspublic class EnumerationIterator<T>
An Iterator wrapper for an Enumeration.
Constructor Summary | |
---|---|
EnumerationIterator(Enumeration<T> enumer)
Creates a new iteratorwrapper instance for the specified Enumeration. |
Method Summary | |
---|---|
boolean |
hasNext()
Check to see if there is another element in the array. |
T |
next()
Move to next element in the array. |
void |
remove()
Unimplemented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumerationIterator(Enumeration<T> enumer)
enumer
- The Enumeration to wrap.Method Detail |
---|
public T next()
next
in interface Iterator<T>
public boolean hasNext()
hasNext
in interface Iterator<T>
public void remove()
remove
in interface Iterator<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |