|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntIterator
An iterator over integer primitives.
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if this iteration has more elements. |
int |
next()
Returns the next int in the iteration, if any. |
void |
remove()
Removes the last returned element from the underlying collection. |
Method Detail |
---|
boolean hasNext()
int next()
java.util.NoSuchElementException
- - the iteration is empty.void remove()
java.lang.UnsupportedOperationException
- - removal is not supported
java.lang.IllegalStateException
- - next() has not been called yet or remove()
has already been called since the last call to next().removes the last returned element from the underlying collection. |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |