/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collector.java | 210 BiConsumer<A, T> accumulator(); in accumulator() method 261 BiConsumer<R, T> accumulator, in of() argument 265 Objects.requireNonNull(accumulator); in of() 272 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, cs); in of() 292 BiConsumer<A, T> accumulator, in of() argument 297 Objects.requireNonNull(accumulator); in of() 307 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, finisher, cs); in of()
|
D | Collectors.java | 197 private final BiConsumer<A, T> accumulator; 203 BiConsumer<A, T> accumulator, 208 this.accumulator = accumulator; 215 BiConsumer<A, T> accumulator, 218 this(supplier, accumulator, combiner, castingIdentity(), characteristics); 222 public BiConsumer<A, T> accumulator() { 223 return accumulator; 459 BiConsumer<A, ? super U> downstreamAccumulator = downstream.accumulator(); 504 BiConsumer<A, ? super U> downstreamAccumulator = downstream.accumulator(); 554 BiConsumer<A, ? super T> downstreamAccumulator = downstream.accumulator(); [all …]
|
D | ReduceOps.java | 158 BiConsumer<I, ? super T> accumulator = collector.accumulator(); 169 accumulator.accept(state, t); 206 BiConsumer<R, ? super T> accumulator, 209 Objects.requireNonNull(accumulator); 220 accumulator.accept(state, t); 342 ObjIntConsumer<R> accumulator, 345 Objects.requireNonNull(accumulator); 356 accumulator.accept(state, t); 478 ObjLongConsumer<R> accumulator, 481 Objects.requireNonNull(accumulator); [all …]
|
D | ReferencePipeline.java | 493 public final P_OUT reduce(final P_OUT identity, final BinaryOperator<P_OUT> accumulator) { 494 return evaluate(ReduceOps.makeRef(identity, accumulator, accumulator)); 498 public final Optional<P_OUT> reduce(BinaryOperator<P_OUT> accumulator) { 499 return evaluate(ReduceOps.makeRef(accumulator)); 503 …public final <R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<… 504 return evaluate(ReduceOps.makeRef(identity, accumulator, combiner)); 515 BiConsumer<A, ? super P_OUT> accumulator = collector.accumulator(); 516 forEach(u -> accumulator.accept(container, u)); 528 BiConsumer<R, ? super P_OUT> accumulator, 530 return evaluate(ReduceOps.makeRef(supplier, accumulator, combiner));
|
D | Stream.java | 961 T reduce(T identity, BinaryOperator<T> accumulator); 1001 Optional<T> reduce(BinaryOperator<T> accumulator); 1051 BiFunction<U, ? super T, U> accumulator, 1110 BiConsumer<R, ? super T> accumulator,
|
D | DoubleStream.java | 454 ObjDoubleConsumer<R> accumulator, in collect() argument
|
D | IntStream.java | 446 ObjIntConsumer<R> accumulator, in collect() argument
|
D | DoublePipeline.java | 488 ObjDoubleConsumer<R> accumulator, 494 return evaluate(ReduceOps.makeDouble(supplier, accumulator, operator));
|
D | LongPipeline.java | 467 ObjLongConsumer<R> accumulator, 473 return evaluate(ReduceOps.makeLong(supplier, accumulator, operator));
|
D | LongStream.java | 451 ObjLongConsumer<R> accumulator, in collect() argument
|
D | IntPipeline.java | 485 ObjIntConsumer<R> accumulator, 491 return evaluate(ReduceOps.makeInt(supplier, accumulator, operator));
|
/libcore/ojluni/src/main/java/java/lang/runtime/ |
D | ObjectMethods.java | 215 …MethodHandle accumulator = MethodHandles.dropArguments(TRUE, 0, receiverClass, receiverClass); // … in makeEquals() local 220 … accumulator = MethodHandles.guardWithTest(thisFieldEqual, accumulator, instanceFalse.asType(rr)); in makeEquals() 225 … MethodHandles.guardWithTest(isInstance, accumulator.asType(ro), instanceFalse)); in makeEquals() 236 MethodHandle accumulator = MethodHandles.dropArguments(ZERO, 0, receiverClass); // (R)I in makeHashCode() local 242 …Handle combineHashes = MethodHandles.filterArguments(HASH_COMBINER, 0, accumulator, hashThisField)… in makeHashCode() 243 …accumulator = MethodHandles.permuteArguments(combineHashes, accumulator.type(), 0, 0); // adapt (R… in makeHashCode() 246 return accumulator; in makeHashCode()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DefaultMethodStreams.java | 282 public T reduce(T identity, BinaryOperator<T> accumulator) { in reduce() argument 283 return s.reduce(identity, accumulator); in reduce() 287 public Optional<T> reduce(BinaryOperator<T> accumulator) { in reduce() argument 288 return s.reduce(accumulator); in reduce() 292 …public <U> U reduce(U identity, BiFunction<U, ? super T, U> accumulator, BinaryOperator<U> combine… in reduce() argument 293 return s.reduce(identity, accumulator, combiner); in reduce() 297 …public <R> R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> … in collect() argument 298 return s.collect(supplier, accumulator, combiner); in collect() 478 …public <R> R collect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combine… in collect() argument 479 return s.collect(supplier, accumulator, combiner); in collect() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | CollectorsTest.java | 88 sqSumCollector.accumulator().accept(anArray, 10); in collectorOf()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | GroupByOpTest.java | 69 collector.accumulator().accept(m, i); in testBypassCollect()
|
/libcore/api/ |
D | current.txt | 17535 method public java.util.function.BiConsumer<A,T> accumulator();
|