Lines Matching refs:spliterator

49      * <p>The spliterator is only traversed, split, or queried for estimated
52 * <p>It is strongly recommended the spliterator report a characteristic of
61 * @param spliterator a {@code Spliterator} describing the stream elements
67 public static <T> Stream<T> stream(Spliterator<T> spliterator, boolean parallel) {
68 Objects.requireNonNull(spliterator);
69 return new ReferencePipeline.Head<>(spliterator,
70 StreamOpFlag.fromCharacteristics(spliterator),
120 * <p>The spliterator is only traversed, split, or queried for estimated size
123 * <p>It is strongly recommended the spliterator report a characteristic of
131 * @param spliterator a {@code Spliterator.OfInt} describing the stream elements
137 public static IntStream intStream(Spliterator.OfInt spliterator, boolean parallel) {
138 return new IntPipeline.Head<>(spliterator,
139 StreamOpFlag.fromCharacteristics(spliterator),
187 * <p>The spliterator is only traversed, split, or queried for estimated
190 * <p>It is strongly recommended the spliterator report a characteristic of
198 * @param spliterator a {@code Spliterator.OfLong} describing the stream elements
204 public static LongStream longStream(Spliterator.OfLong spliterator,
206 return new LongPipeline.Head<>(spliterator,
207 StreamOpFlag.fromCharacteristics(spliterator),
255 * <p>The spliterator is only traversed, split, or queried for estimated size
258 * <p>It is strongly recommended the spliterator report a characteristic of
266 * @param spliterator A {@code Spliterator.OfDouble} describing the stream elements
272 public static DoubleStream doubleStream(Spliterator.OfDouble spliterator,
274 return new DoublePipeline.Head<>(spliterator,
275 StreamOpFlag.fromCharacteristics(spliterator),