All Superinterfaces:
Spliterator<Double>, Spliterator.OfPrimitive<Double,​DoubleConsumer,​Spliterator.OfDouble>
All Known Implementing Classes:
Spliterators.AbstractDoubleSpliterator
Enclosing interface:
Spliterator<T>

public static interface Spliterator.OfDouble
extends Spliterator.OfPrimitive<Double,​DoubleConsumer,​Spliterator.OfDouble>

A Spliterator specialized for double values.

Since:
1.8
  • Nested Class Summary

  • Field Summary

  • Method Summary

    Modifier and Type Method Description
    default void forEachRemaining​(Consumer<? super Double> action)

    Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.

    default boolean tryAdvance​(Consumer<? super Double> action)

    If a remaining element exists, performs the given action on it, returning true; else returns false.