|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Scans a set of integers (ints).
An imaginary cursor that advances its position with each call
to next is used to identify the current position.
The behavior is undefined if the underlying set is modified
(in any way except the delete method of this Scanner)
while scanning.
| Method Summary | |
void |
delete()
Deletes the element returned by the last call to next. |
boolean |
hasNext()
Returns true if there are more elements. |
int |
next()
Returns the next element and advances the cursor by one. |
| Method Detail |
public boolean hasNext()
public int next()
public void delete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||