Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/javax/security/auth/
DSubjectDomainCombinerTest.java38 SubjectDomainCombiner combiner = new SubjectDomainCombiner(null); in combine() local
39 assertNull(combiner.combine(null, null)); in combine()
44 SubjectDomainCombiner combiner = new SubjectDomainCombiner(null); in getSubject() local
45 assertNull(combiner.getSubject()); in getSubject()
47 combiner = new SubjectDomainCombiner(new Subject()); in getSubject()
48 assertNull(combiner.getSubject()); in getSubject()
/libcore/ojluni/src/main/java/java/util/stream/
DCollector.java224 BinaryOperator<A> combiner(); in combiner() method
266 BinaryOperator<R> combiner, in of() argument
270 Objects.requireNonNull(combiner); in of()
276 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, cs); in of()
297 BinaryOperator<A> combiner, in of() argument
302 Objects.requireNonNull(combiner); in of()
311 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);
384 BinaryOperator<R> combiner) {
387 Objects.requireNonNull(combiner);
402 state = combiner.apply(state, other.state);
560 BinaryOperator<R> combiner) {
563 Objects.requireNonNull(combiner);
[all …]
DCollectors.java200 private final BinaryOperator<A> combiner;
206 BinaryOperator<A> combiner,
211 this.combiner = combiner;
218 BinaryOperator<A> combiner,
220 this(supplier, accumulator, combiner, castingIdentity(), characteristics);
234 public BinaryOperator<A> combiner() {
235 return combiner;
471 downstream.combiner(), downstream.finisher(),
521 downstream.combiner(), downstream.finisher(),
570 downstream.combiner(), downstream.finisher(),
[all …]
DReferencePipeline.java690 …<R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<R> combiner) {
691 return evaluate(ReduceOps.makeRef(identity, accumulator, combiner));
716 BiConsumer<R, R> combiner) {
717 return evaluate(ReduceOps.makeRef(supplier, accumulator, combiner));
DIntPipeline.java544 BiConsumer<R, R> combiner) {
545 Objects.requireNonNull(combiner);
547 combiner.accept(left, right);
DLongPipeline.java527 BiConsumer<R, R> combiner) {
528 Objects.requireNonNull(combiner);
530 combiner.accept(left, right);
DDoublePipeline.java552 BiConsumer<R, R> combiner) {
553 Objects.requireNonNull(combiner);
555 combiner.accept(left, right);
DStream.java1052 BinaryOperator<U> combiner);
1111 BiConsumer<R, R> combiner);
DDoubleStream.java629 BiConsumer<R, R> combiner); in collect() argument
DIntStream.java625 BiConsumer<R, R> combiner); in collect() argument
DLongStream.java626 BiConsumer<R, R> combiner); in collect() argument
/libcore/ojluni/src/main/java/java/security/
DAccessControlContext.java47 DomainCombiner combiner) { in AccessControlContext() argument
56 DomainCombiner combiner, in AccessControlContext() argument
66 AccessControlContext(ProtectionDomain caller, DomainCombiner combiner, in AccessControlContext() argument
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectorExample.java69 BinaryOperator<A> combiner = collector.combiner(); in testSnippet1() local
82 R r2 = finisher.apply(combiner.apply(a2, a3)); in testSnippet1()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java292 …lic <U> U reduce(U identity, BiFunction<U, ? super T, U> accumulator, BinaryOperator<U> combiner) { in reduce() argument
293 return s.reduce(identity, accumulator, combiner); in reduce()
297 … R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> combiner) { in collect() argument
298 return s.collect(supplier, accumulator, combiner); in collect()
478 …lic <R> R collect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combiner) { in collect() argument
479 return s.collect(supplier, accumulator, combiner); in collect()
684 …ic <R> R collect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R, R> combiner) { in collect() argument
685 return s.collect(supplier, accumulator, combiner); in collect()
882 … <R> R collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R, R> combiner) { in collect() argument
883 return s.collect(supplier, accumulator, combiner); in collect()
/libcore/luni/src/test/java/libcore/java/util/stream/
DCollectorsTest.java86 assertArrayEquals(new int[] {20}, sqSumCollector.combiner().apply(anArray, anArray)); in collectorOf()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java1730 private final MethodHandle combiner; field in Transformers.FoldArguments
1745 FoldArguments(MethodHandle target, int position, MethodHandle combiner) { in FoldArguments() argument
1746 super(deriveType(target, position, combiner)); in FoldArguments()
1749 this.combiner = combiner; in FoldArguments()
1753 Range.of(type(), position, position + combiner.type().parameterCount()); in FoldArguments()
1757 final Class<?> combinerRType = combiner.type().rtype(); in FoldArguments()
1774 EmulatedStackFrame combinerFrame = EmulatedStackFrame.create(combiner.type()); in transform()
1776 invokeExactFromTransform(combiner, combinerFrame); in transform()
1809 MethodHandle combiner) { in deriveType() argument
1810 if (combiner.type().rtype() == void.class) { in deriveType()
DMethodHandles.java3923 MethodHandle foldArguments(MethodHandle target, MethodHandle combiner) { in foldArguments() argument
3924 return foldArguments(target, 0, combiner); in foldArguments()
3998 MethodHandle foldArguments(MethodHandle target, int pos, MethodHandle combiner) { in foldArguments() argument
4000 MethodType combinerType = combiner.type(); in foldArguments()
4013 return new Transformers.FoldArguments(target, pos, 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/flagged_api/java/util/stream/
DDoubleStream.annotated.java72 … java.util.function.ObjDoubleConsumer<R> accumulator, java.util.function.BiConsumer<R,R> combiner); in collect() argument
DIntStream.annotated.java72 …er, java.util.function.ObjIntConsumer<R> accumulator, java.util.function.BiConsumer<R,R> combiner); in collect() argument
DLongStream.annotated.java72 …r, java.util.function.ObjLongConsumer<R> accumulator, java.util.function.BiConsumer<R,R> combiner); in collect() argument
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java327 java.lang.invoke.MethodHandle target, java.lang.invoke.MethodHandle combiner) { in foldArguments() argument
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java2733 MethodHandle combiner = streamFieldExtractor(name, type, desc); in deserializationCtr() local
2736 mh = MethodHandles.foldArguments(mh, i, combiner); in deserializationCtr()
/libcore/api/
Dcurrent.txt18178 method public java.util.function.BinaryOperator<A> combiner();