|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Iterator<E>
An Iterator is used to sequence over a collection of objects.
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns if there are more elements to iterate. |
E |
next()
Returns the next object in the iteration. |
void |
remove()
Removes the last object returned by next from the
collection. |
| Method Detail |
|---|
boolean hasNext()
next()E next()
NoSuchElementException - when there are no more elementshasNext()void remove()
next from the
collection.
UnsupportedOperationException - when removing is not supported by the collection being
iterated
IllegalStateException - when next has not been called, or
remove has already been called after the
last call to next
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||