|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jdsl.ArrayIterator
An array based enumerator to implement enumerations efficiently for jdsl structures.
| Constructor Summary | |
ArrayIterator(java.lang.Object[] array)
Iterator traverses. |
|
| Method Summary | |
boolean |
hasNext()
Tests if this Iterator contains more elements. |
java.lang.Object |
next()
Returns the next element of this Iterator. |
void |
remove()
|
| 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[] array)
array - The elements that this Iterator should traverse.| Method Detail |
public boolean hasNext()
true if this Iterator contains more elements;
false otherwise.public java.lang.Object next()
public void remove()
throws java.lang.UnsupportedOperationException,
java.lang.IllegalStateException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||