Home
last modified time | relevance | path

Searched refs:combiner (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DCollector.java220 BinaryOperator<A> combiner(); in combiner() method
262 BinaryOperator<R> combiner, in of() argument
266 Objects.requireNonNull(combiner); in of()
272 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, cs); in of()
293 BinaryOperator<A> combiner, in of() argument
298 Objects.requireNonNull(combiner); in of()
307 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, finisher, cs); in of()
DReduceOps.java69 makeRef(U seed, BiFunction<U, ? super T, U> reducer, BinaryOperator<U> combiner) { in makeRef() argument
71 Objects.requireNonNull(combiner); in makeRef()
85 state = combiner.apply(state, other.state); in makeRef()
159 BinaryOperator<I> combiner = collector.combiner();
174 state = combiner.apply(state, other.state);
343 BinaryOperator<R> combiner) {
346 Objects.requireNonNull(combiner);
361 state = combiner.apply(state, other.state);
479 BinaryOperator<R> combiner) {
482 Objects.requireNonNull(combiner);
[all …]
DCollectors.java150 private final BinaryOperator<A> combiner; field in CollectorImpl
156 BinaryOperator<A> combiner, in CollectorImpl() argument
161 this.combiner = combiner; in CollectorImpl()
168 BinaryOperator<A> combiner, in CollectorImpl() argument
170 this(supplier, accumulator, combiner, castingIdentity(), characteristics); in CollectorImpl()
184 public BinaryOperator<A> combiner() { in combiner() method in CollectorImpl
185 return combiner; in combiner()
356 downstream.combiner(), downstream.finisher(),
392 downstream.combiner(),
911 … BinaryOperator<Map<K, A>> merger = Collectors.<K, A, Map<K, A>>mapMerger(downstream.combiner());
[all …]
DStream.java698 BinaryOperator<U> combiner); in reduce() argument
753 BiConsumer<R, R> combiner); in collect() argument
DReferencePipeline.java501 …<R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<R> combiner) {
502 return evaluate(ReduceOps.makeRef(identity, accumulator, combiner));
527 BiConsumer<R, R> combiner) {
528 return evaluate(ReduceOps.makeRef(supplier, accumulator, combiner));
DDoubleStream.java455 BiConsumer<R, R> combiner); in collect() argument
DIntStream.java447 BiConsumer<R, R> combiner); in collect() argument
DDoublePipeline.java487 BiConsumer<R, R> combiner) {
489 combiner.accept(left, right);
DIntPipeline.java484 BiConsumer<R, R> combiner) {
486 combiner.accept(left, right);
DLongPipeline.java466 BiConsumer<R, R> combiner) {
468 combiner.accept(left, right);
DLongStream.java452 BiConsumer<R, R> combiner); in collect() argument
/libcore/ojluni/src/main/java/java/security/
DAccessControlContext.java43 DomainCombiner combiner) { in AccessControlContext() argument
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java1625 private final MethodHandle combiner; field in Transformers.FoldArguments
1633 FoldArguments(MethodHandle target, MethodHandle combiner) { in FoldArguments() argument
1634 super(deriveType(target, combiner)); in FoldArguments()
1637 this.combiner = combiner; in FoldArguments()
1639 combinerArgs = Range.all(combiner.type()); in FoldArguments()
1642 final Class<?> combinerRType = combiner.type().rtype(); in FoldArguments()
1658 EmulatedStackFrame combinerFrame = EmulatedStackFrame.create(combiner.type()); in transform()
1660 combiner.invoke(combinerFrame); in transform()
1680 private static MethodType deriveType(MethodHandle target, MethodHandle combiner) { in deriveType() argument
1681 if (combiner.type().rtype() == void.class) { in deriveType()
DMethodHandles.java3332 MethodHandle foldArguments(MethodHandle target, MethodHandle combiner) { in foldArguments() argument
3335 MethodType combinerType = combiner.type(); in foldArguments()
3338 return new Transformers.FoldArguments(target, combiner); in foldArguments()
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java139 MethodHandle foldArguments(MethodHandle target, MethodHandle combiner) { return null; } in foldArguments() argument
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java327 java.lang.invoke.MethodHandle target, java.lang.invoke.MethodHandle combiner) { in foldArguments() argument