Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/stream/
DCollector.java214 BiConsumer<A, T> accumulator(); in accumulator() method
265 BiConsumer<R, T> accumulator, in of()
296 BiConsumer<A, T> accumulator, in of()
DDoubleStream.java628 ObjDoubleConsumer<R> accumulator, in collect()
DIntStream.java624 ObjIntConsumer<R> accumulator, in collect()
DLongStream.java625 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/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectorExample.java68 BiConsumer<A, T> accumulator = collector.accumulator(); in testSnippet1() local
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DDoubleStream.annotated.java72 …R collect(java.util.function.Supplier<R> supplier, java.util.function.ObjDoubleConsumer<R> accumul… in collect()
DIntStream.annotated.java72 … R collect(java.util.function.Supplier<R> supplier, java.util.function.ObjIntConsumer<R> accumulat… in collect()
DLongStream.annotated.java72 … R collect(java.util.function.Supplier<R> supplier, java.util.function.ObjLongConsumer<R> accumula… 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