|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.inxar.jenesis.util.ArrayIterator
Implementation of Iterator
which wraps an array.
Constructor Summary | |
ArrayIterator(java.lang.Object[] a)
|
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 ArrayIterator(java.lang.Object[] a)
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 |