|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DoubleIterator
Primitive specialization of Iterator<Double>.
See the comparison of iteration ways in the library.
Iterators of updatable and immutable collections don't support Iterator.remove()
operation. More about mutability profiles.
DoubleCollection.iterator()| Method Summary | |
|---|---|
void |
forEachRemaining(DoubleConsumer action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception. |
double |
nextDouble()
Returns the next double element in the iteration. |
| Methods inherited from interface Iterator |
|---|
hasNext, next, remove |
| Method Detail |
|---|
double nextDouble()
double element in the iteration. This is a primitive specialization
of the Iterator.next() method.
double element in the iteration
NoSuchElementException - if the iteration has no more elements
void forEachRemaining(@Nonnull
DoubleConsumer action)
action - the action to be performed for each element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||