Home
last modified time | relevance | path

Searched defs:accumulator (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DCollector.java210 BiConsumer<A, T> accumulator(); in accumulator() method
261 BiConsumer<R, T> accumulator, in of()
292 BiConsumer<A, T> accumulator, in of()
DDoubleStream.java454 ObjDoubleConsumer<R> accumulator, in collect()
DIntStream.java446 ObjIntConsumer<R> accumulator, in collect()
DLongStream.java451 ObjLongConsumer<R> accumulator, in collect()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java282 public T reduce(T identity, BinaryOperator<T> accumulator) { in reduce()
287 public Optional<T> reduce(BinaryOperator<T> accumulator) { in reduce()
292 …public <U> U reduce(U identity, BiFunction<U, ? super T, U> accumulator, BinaryOperator<U> combine… in reduce() argument
297 …public <R> R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> … in collect()
478 …public <R> R collect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combine… in collect()
684 …public <R> R collect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R, R> combin… in collect()
882 …public <R> R collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R, R> comb… in collect()
/libcore/ojluni/src/main/java/java/lang/runtime/
DObjectMethods.java215 …MethodHandle accumulator = MethodHandles.dropArguments(TRUE, 0, receiverClass, receiverClass); // … in makeEquals() local
236 MethodHandle accumulator = MethodHandles.dropArguments(ZERO, 0, receiverClass); // (R)I in makeHashCode() local