This class is mostly for library writers presenting stream views
of data structures; most static stream methods intended for end users are in
the various Stream classes.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DoubleStream | Returns: a new sequential or parallelDoubleStreamA spliterator,Spliterator.OfDouble describing the stream elementsif parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static DoubleStream | Returns: a new sequential or parallelDoubleStreamA supplier, int Supplier of a Spliterator.OfDoubleSpliterator characteristics of the supplied
characteristics, boolean Spliterator.OfDouble. The characteristics must be equal to
supplier.get().characteristics(), otherwise undefined
behavior may occur when terminal operation commences.if parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static IntStream | Returns: a new sequential or parallelIntStreama spliterator,Spliterator.OfInt describing the stream elementsif parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static IntStream | Returns: a new sequential or parallelIntStreama supplier, int Supplier of a Spliterator.OfIntSpliterator characteristics of the supplied
characteristics, boolean Spliterator.OfInt. The characteristics must be equal to
supplier.get().characteristics(), otherwise undefined
behavior may occur when terminal operation commences.if parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static LongStream | Returns: a new sequential or parallelLongStreama spliterator,Spliterator.OfLong describing the stream elementsif parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static LongStream | Returns: a new sequential or parallelLongStreama supplier, int Supplier of a Spliterator.OfLongSpliterator characteristics of the supplied
characteristics, boolean Spliterator.OfLong. The characteristics must be equal to
supplier.get().characteristics(), otherwise undefined
behavior may occur when terminal operation commences.if parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static < the type of stream elements T> Stream | Returns: a new sequential or parallelStreama spliterator, boolean Spliterator describing the stream elementsif parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| public static < the type of stream elements T> Stream | Returns: a new sequential or parallelStreama supplier, int Supplier of a SpliteratorSpliterator characteristics of the supplied
characteristics, boolean Spliterator. The characteristics must be equal to
supplier.get().characteristics(), otherwise undefined
behavior may occur when terminal operation commences.if parallel)true then the returned stream is a parallel
stream; if false the returned stream is a sequential
stream.Creates a new sequential or parallel |
| StreamSupport | back to summary |
|---|---|
| private StreamSupport() | |
| doubleStream | back to summary |
|---|---|
| public static DoubleStream doubleStream(Spliterator. Creates a new sequential or parallel The spliterator is only traversed, split, or queried for estimated size after the terminal operation of the stream pipeline commences. It is strongly recommended the spliterator report a characteristic of
| |
| doubleStream | back to summary |
|---|---|
| public static DoubleStream doubleStream(Supplier<? extends Spliterator. Creates a new sequential or parallel The For spliterators that report a characteristic of The use of a
| |
| intStream | back to summary |
|---|---|
| public static IntStream intStream(Spliterator. Creates a new sequential or parallel The spliterator is only traversed, split, or queried for estimated size after the terminal operation of the stream pipeline commences. It is strongly recommended the spliterator report a characteristic of
| |
| intStream | back to summary |
|---|---|
| public static IntStream intStream(Supplier<? extends Spliterator. Creates a new sequential or parallel The For spliterators that report a characteristic of The use of a
| |
| longStream | back to summary |
|---|---|
| public static LongStream longStream(Spliterator. Creates a new sequential or parallel The spliterator is only traversed, split, or queried for estimated size after the terminal operation of the stream pipeline commences. It is strongly recommended the spliterator report a characteristic of
| |
| longStream | back to summary |
|---|---|
| public static LongStream longStream(Supplier<? extends Spliterator. Creates a new sequential or parallel The For spliterators that report a characteristic of The use of a
| |
| stream | back to summary |
|---|---|
| public static <T> Stream Creates a new sequential or parallel The spliterator is only traversed, split, or queried for estimated size after the terminal operation of the stream pipeline commences. It is strongly recommended the spliterator report a characteristic of
| |
| stream | back to summary |
|---|---|
| public static <T> Stream Creates a new sequential or parallel The For spliterators that report a characteristic of The use of a
| |