|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DoubleIterator
A type-specific Iterator
; provides an additional method to avoid (un)boxing, and
the possibility to skip elements.
Iterator
Method Summary | |
---|---|
double |
nextDouble()
Returns the next element as a primitive type. |
int |
skip(int n)
Skips the given number of elements. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
double nextDouble()
Iterator.next()
int skip(int n)
The effect of this call is exactly the same as that of
calling Iterator.next()
for n
times (possibly stopping
if Iterator.hasNext()
becomes false).
n
- the number of elements to skip.
Iterator.next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |