|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl.util.EnumerationIterator
public class EnumerationIterator
An Iterator wrapper for an Enumeration.
Field Summary | |
---|---|
private java.util.Enumeration |
enumeration
The enumeration to iterate over. |
Constructor Summary | |
---|---|
EnumerationIterator(java.util.Enumeration 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. |
java.lang.Object |
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 |
Field Detail |
---|
private final java.util.Enumeration enumeration
Constructor Detail |
---|
public EnumerationIterator(java.util.Enumeration enumer)
enumer
- The Enumeration to wrap.Method Detail |
---|
public java.lang.Object next()
next
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |