Home
last modified time | relevance | path

Searched refs:combiner (Results 1 – 15 of 15) 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.java695 BinaryOperator<U> combiner); in reduce() argument
750 BiConsumer<R, R> combiner); in collect() argument
DReferencePipeline.java485 …<R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<R> combiner) {
486 return evaluate(ReduceOps.makeRef(identity, accumulator, combiner));
511 BiConsumer<R, R> combiner) {
512 return evaluate(ReduceOps.makeRef(supplier, accumulator, combiner));
DDoubleStream.java453 BiConsumer<R, R> combiner); in collect() argument
DIntStream.java447 BiConsumer<R, R> combiner); in collect() argument
DIntPipeline.java468 BiConsumer<R, R> combiner) {
470 combiner.accept(left, right);
DLongPipeline.java450 BiConsumer<R, R> combiner) {
452 combiner.accept(left, right);
DDoublePipeline.java472 BiConsumer<R, R> combiner) {
474 combiner.accept(left, right);
DLongStream.java451 BiConsumer<R, R> combiner); in collect() argument
/libcore/ojluni/src/main/java/java/security/
DAccessControlContext.java41 DomainCombiner combiner) { in AccessControlContext() argument
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java1624 private final MethodHandle combiner; field in Transformers.FoldArguments
1632 FoldArguments(MethodHandle target, MethodHandle combiner) { in FoldArguments() argument
1633 super(deriveType(target, combiner)); in FoldArguments()
1636 this.combiner = combiner; in FoldArguments()
1638 combinerArgs = Range.all(combiner.type()); in FoldArguments()
1641 final Class<?> combinerRType = combiner.type().rtype(); in FoldArguments()
1657 EmulatedStackFrame combinerFrame = EmulatedStackFrame.create(combiner.type()); in transform()
1659 combiner.invoke(combinerFrame); in transform()
1679 private static MethodType deriveType(MethodHandle target, MethodHandle combiner) { in deriveType() argument
1680 if (combiner.type().rtype() == void.class) { in deriveType()
DMethodHandles.java2730 MethodHandle foldArguments(MethodHandle target, MethodHandle combiner) { in foldArguments() argument
2733 MethodType combinerType = combiner.type(); in foldArguments()
2736 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