|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.util.EnumerationIterator
An Iterator wrapper for an Enumeration.
Constructor Summary | |
EnumerationIterator(Enumeration enumeration)
Creates a new iteratorwrapper instance for the specified Enumeration. |
Method Summary | |
boolean |
hasNext()
Check to see if there is another element in the array. |
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 |
Constructor Detail |
public EnumerationIterator(Enumeration enumeration)
enumeration
- The Enumeration to wrap.Method Detail |
public Object next()
next
in interface Iterator
public boolean hasNext()
hasNext
in interface Iterator
public void remove()
remove
in interface Iterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |