|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IntIterator
interface is used to run through a
list of integers.
Method Summary | |
boolean |
hasNext()
Returns true if there is at least one more
element, false otherwise (at the end of the list). |
int |
next()
Moves the index pointer forward by one and returns the value at that position. |
Method Detail |
public boolean hasNext()
true
if there is at least one more
element, false
otherwise (at the end of the list).public int next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |