/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | DoubleStream.java | 428 * <p>Like {@link #reduce(double, DoubleBinaryOperator)}, {@code collect} 449 * @see Stream#collect(Supplier, BiConsumer, BiConsumer) 451 <R> R collect(Supplier<R> supplier, method in interface:DoubleStream
|
H A D | Stream.java | 412 * .collect(Collectors.toList()); 711 * <p>Like {@link #reduce(Object, BinaryOperator)}, {@code collect} operations 718 * well-suited for use with method references as arguments to {@code collect()}. 721 * List<String> asList = stringStream.collect(ArrayList::new, ArrayList::add, 728 * String concat = stringStream.collect(StringBuilder::new, StringBuilder::append, 748 <R> R collect(Supplier<R> supplier, method in interface:Stream 757 * {@link #collect(Supplier, BiConsumer, BiConsumer)}, allowing for reuse of 758 * collection strategies and composition of collect operations such as 780 * List<String> asList = stringStream.collect(Collectors.toList()); 786 * = personStream.collect(Collector 804 <R, A> R collect(Collector<? super T, A, R> collector); method in interface:Stream [all...] |
H A D | DoublePipeline.java | 382 * In the arrays allocated for the collect operation, index 0 389 double[] summation = collect(() -> new double[3], 425 * In the arrays allocated for the collect operation, index 0 431 double[] avg = collect(() -> new double[4], 455 return collect(DoubleSummaryStatistics::new, DoubleSummaryStatistics::accept, 470 public final <R> R collect(Supplier<R> supplier, method in class:DoublePipeline
|
H A D | IntPipeline.java | 435 long[] avg = collect(() -> new long[2], 451 return collect(IntSummaryStatistics::new, IntSummaryStatistics::accept, 466 public final <R> R collect(Supplier<R> supplier, method in class:IntPipeline
|
H A D | IntStream.java | 423 * <p>Like {@link #reduce(int, IntBinaryOperator)}, {@code collect} operations 443 * @see Stream#collect(Supplier, BiConsumer, BiConsumer) 445 <R> R collect(Supplier<R> supplier, method in interface:IntStream
|
H A D | LongPipeline.java | 412 long[] avg = collect(() -> new long[2], 433 return collect(LongSummaryStatistics::new, LongSummaryStatistics::accept, 448 public final <R> R collect(Supplier<R> supplier, method in class:LongPipeline
|
H A D | LongStream.java | 427 * <p>Like {@link #reduce(long, LongBinaryOperator)}, {@code collect} operations 447 * @see Stream#collect(Supplier, BiConsumer, BiConsumer) 449 <R> R collect(Supplier<R> supplier, method in interface:LongStream
|
H A D | ReferencePipeline.java | 110 return Nodes.collect(helper, spliterator, flattenTree, generator); 490 public final <R, A> R collect(Collector<? super P_OUT, A, R> collector) { method in class:ReferencePipeline 508 public final <R> R collect(Supplier<R> supplier, method in class:ReferencePipeline
|
H A D | Nodes.java | 316 public static <P_IN, P_OUT> Node<P_OUT> collect(PipelineHelper<P_OUT> helper, method in class:Nodes
|