Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public interface PrimitiveIterator.OfDouble
ExtendsIterator<Double>, PrimitiveIterator<Double, DoubleConsumer>
An iterator of
double values.Methods
public abstract double nextDouble() | |
public default void forEachRemaining(DoubleConsumer action) | |
public default Double next() | Returns the next object in the iteration, i.e. returns the element in front of the iterator and advances the iterator by one position. |
public default void forEachRemaining(Consumer<? super Double> action) | Hands each remaining element to action, in order. |
Inherited nested types
Inherited methods
Method details
nextDouble
public abstract double nextDouble()forEachRemaining
public default void forEachRemaining(DoubleConsumer action)next
public default Double next()Returns the next object in the iteration, i.e. returns the element in
front of the iterator and advances the iterator by one position.
Returns
the next object.
Throws
NoSuchElementException- if there are no more elements.
See also
forEachRemaining
public default void forEachRemaining(Consumer<? super Double> action)Hands each remaining element to
action, in order.