Lines Matching defs:stream

25 package java.util.stream;
34 * <p>This class is mostly for library writers presenting stream views
35 * of data structures; most static stream methods intended for end users are in
50 * size after the terminal operation of the stream pipeline commences.
55 * {@link #stream(java.util.function.Supplier, int, boolean)} should be used
60 * @param <T> the type of stream elements
61 * @param spliterator a {@code Spliterator} describing the stream elements
62 * @param parallel if {@code true} then the returned stream is a parallel
63 * stream; if {@code false} the returned stream is a sequential
64 * stream.
67 public static <T> Stream<T> stream(Spliterator<T> spliterator, boolean parallel) {
79 * more than once, and only after the terminal operation of the stream pipeline
85 * more efficient to use {@link #stream(java.util.Spliterator, boolean)}
91 * terminal operation are reflected in the stream result. See
95 * @param <T> the type of stream elements
101 * @param parallel if {@code true} then the returned stream is a parallel
102 * stream; if {@code false} the returned stream is a sequential
103 * stream.
105 * @see #stream(java.util.Spliterator, boolean)
107 public static <T> Stream<T> stream(Supplier<? extends Spliterator<T>> supplier,
121 * after the terminal operation of the stream pipeline commences.
131 * @param spliterator a {@code Spliterator.OfInt} describing the stream elements
132 * @param parallel if {@code true} then the returned stream is a parallel
133 * stream; if {@code false} the returned stream is a sequential
134 * stream.
148 * more than once, and only after the terminal operation of the stream pipeline
160 * terminal operation are reflected in the stream result. See
169 * @param parallel if {@code true} then the returned stream is a parallel
170 * stream; if {@code false} the returned stream is a sequential
171 * stream.
188 * size after the terminal operation of the stream pipeline commences.
198 * @param spliterator a {@code Spliterator.OfLong} describing the stream elements
199 * @param parallel if {@code true} then the returned stream is a parallel
200 * stream; if {@code false} the returned stream is a sequential
201 * stream.
216 * more than once, and only after the terminal operation of the stream pipeline
228 * terminal operation are reflected in the stream result. See
237 * @param parallel if {@code true} then the returned stream is a parallel
238 * stream; if {@code false} the returned stream is a sequential
239 * stream.
256 * after the terminal operation of the stream pipeline commences.
266 * @param spliterator A {@code Spliterator.OfDouble} describing the stream elements
267 * @param parallel if {@code true} then the returned stream is a parallel
268 * stream; if {@code false} the returned stream is a sequential
269 * stream.
284 * more than once, and only after the terminal operation of the stream pipeline
296 * terminal operation are reflected in the stream result. See
305 * @param parallel if {@code true} then the returned stream is a parallel
306 * stream; if {@code false} the returned stream is a sequential
307 * stream.