|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.inxar.jenesis.util.EnumerationIterator
Implementation of Iterator
which wraps an
Enumeration
.
Constructor Summary | |
EnumerationIterator(java.util.Enumeration e,
int size)
|
Method Summary | |
boolean |
hasNext()
Returns true if there is at least one more element in the list. |
java.lang.Object |
next()
Returns the next object in the list and advances the cursor. |
int |
size()
Returns the length (size) of the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EnumerationIterator(java.util.Enumeration e, int size)
Method Detail |
public boolean hasNext()
Iterator
hasNext
in interface Iterator
public java.lang.Object next()
Iterator
next
in interface Iterator
public int size()
Iterator
size
in interface Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |