Lines Matching defs:supplier

78      * <p>The {@link Supplier#get()} method will be invoked on the supplier no
89 * source. Since the supplier is only invoked after the terminal operation
96 * @param supplier a {@code Supplier} of a {@code Spliterator}
99 * {@code supplier.get().characteristics()}, otherwise undefined
107 public static <T> Stream<T> stream(Supplier<? extends Spliterator<T>> supplier,
110 Objects.requireNonNull(supplier);
111 return new ReferencePipeline.Head<>(supplier,
147 * <p>The {@link Supplier#get()} method will be invoked on the supplier no
158 * source. Since the supplier is only invoked after the terminal operation
164 * @param supplier a {@code Supplier} of a {@code Spliterator.OfInt}
167 * {@code supplier.get().characteristics()}, otherwise undefined
175 public static IntStream intStream(Supplier<? extends Spliterator.OfInt> supplier,
178 return new IntPipeline.Head<>(supplier,
215 * <p>The {@link Supplier#get()} method will be invoked on the supplier no
226 * source. Since the supplier is only invoked after the terminal operation
232 * @param supplier a {@code Supplier} of a {@code Spliterator.OfLong}
235 * {@code supplier.get().characteristics()}, otherwise undefined
243 public static LongStream longStream(Supplier<? extends Spliterator.OfLong> supplier,
246 return new LongPipeline.Head<>(supplier,
283 * <p>The {@link Supplier#get()} method will be invoked on the supplier no
294 * source. Since the supplier is only invoked after the terminal operation
300 * @param supplier A {@code Supplier} of a {@code Spliterator.OfDouble}
303 * {@code supplier.get().characteristics()}, otherwise undefined
311 public static DoubleStream doubleStream(Supplier<? extends Spliterator.OfDouble> supplier,
314 return new DoublePipeline.Head<>(supplier,