|
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
Object
s.
Constructor Summary | |
ArrayIterator(java.lang.Object[] array)
Constructs an ArrayIterator from an array of Object s. |
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 Object
s.
array
- the array of Object
s over which to iterateMethod Detail |
public boolean hasNext()
true
if there are more elements in the
array; otherwise false
.
hasNext
in interface java.util.Iterator
public java.lang.Object next()
Object
from the array.
next
in interface java.util.Iterator
public 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.