|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShortIterator
An iterator over short
values.
ShortIteratorIterator
,
IteratorShortIterator
Method Summary | |
---|---|
boolean |
hasNext()
Returns true iff I have more elements. |
short |
next()
Returns the next element in me. |
void |
remove()
Removes from my underlying collection the last element returned by me
(optional operation). |
Method Detail |
---|
boolean hasNext()
true
iff I have more elements.
(In other words, returns true
iff
a subsequent call to next
will return
an element rather than throwing an exception.)
true
iff I have more elementsshort next()
NoSuchElementException
- if there is no next elementvoid remove()
returned
by me
(optional operation).
java.lang.UnsupportedOperationException
- if this operation is not supported
java.lang.IllegalStateException
- if next()
has not yet been
called, or remove()
has already been called since
the last call to next()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |