public static IntStream intStream(Spliterator.OfInt spliterator,
boolean parallel)
Creates a new sequential or parallel
IntStream
from a
Spliterator.OfInt.
public static IntStream intStream(Supplier<? extends Spliterator.OfInt> supplier,
int characteristics,
boolean parallel)
Creates a new sequential or parallel
IntStream
from a
Supplier
of
Spliterator.OfInt
. This method also specifies the characteristics of the supplied Spliterator.