|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.javelot.functionalj.util.ArrayIterator
Iterator that is used for arrays.
| Constructor Summary | |
ArrayIterator(Object[] p_array)
|
|
| Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the iteration of the array. |
void |
remove()
Throws a UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArrayIterator(Object[] p_array)
| Method Detail |
public boolean hasNext()
true if the iteration has more elements.
hasNext in interface Iteratortrue if the iteration has more elements.
public Object next()
throws NoSuchElementException
next in interface IteratorNoSuchElementException - thrown if this method is called and the
iteration is past the end of the array.public void remove()
UnsupportedOperationException.
remove in interface Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||