|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.util.ArrayIterator
The ArrayIterator class iterates over an array of
Objects.
| Constructor Summary | |
ArrayIterator(java.lang.Object[] array)
Constructs an ArrayIterator from an array of Objects. |
|
| Method Summary | |
boolean |
hasNext()
Returns true if there are more elements in the
array; otherwise false. |
java.lang.Object |
next()
Returns the next Object from the array. |
void |
remove()
Currently unsupported; always throws an UnsupportedOperationException. |
| 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)
ArrayIterator from an array of Objects.
array - the array of Objects over which to iterate| Method Detail |
public boolean hasNext()
true if there are more elements in the
array; otherwise false.
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
Object from the array.
next in interface java.util.Iteratorpublic void remove()
UnsupportedOperationException.
remove in interface java.util.Iterator
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.