/libcore/luni/src/test/java/libcore/java/util/function/ |
D | BinaryOperatorTest.java | 22 import java.util.function.BinaryOperator; 28 assertEquals("a", BinaryOperator.minBy(stringComparator).apply("a", "b")); in testMinBy() 33 BinaryOperator.minBy(null); in testMinBy_null() 40 assertEquals("b", BinaryOperator.maxBy(stringComparator).apply("a", "b")); in testMaxBy() 45 BinaryOperator.maxBy(null); in testMaxBy_null()
|
D | DoubleUnaryOperatorTest.java | 22 import java.util.function.BinaryOperator;
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | BinaryOperator.java | 46 public interface BinaryOperator<T> extends BiFunction<T,T,T> { interface 57 public static <T> BinaryOperator<T> minBy(Comparator<? super T> comparator) { in minBy() 72 public static <T> BinaryOperator<T> maxBy(Comparator<? super T> comparator) { in maxBy()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collector.java | 32 import java.util.function.BinaryOperator; 220 BinaryOperator<A> combiner(); in combiner() 262 BinaryOperator<R> combiner, in of() 293 BinaryOperator<A> combiner, in of()
|
D | Collectors.java | 51 import java.util.function.BinaryOperator; 132 private static <T> BinaryOperator<T> throwingMerger() { in throwingMerger() 150 private final BinaryOperator<A> combiner; 156 BinaryOperator<A> combiner, in CollectorImpl() 168 BinaryOperator<A> combiner, in CollectorImpl() 184 public BinaryOperator<A> combiner() { in combiner() 317 BinaryOperator<M> mapMerger(BinaryOperator<V> mergeFunction) { 432 return reducing(BinaryOperator.minBy(comparator)); 451 return reducing(BinaryOperator.maxBy(comparator)); 657 reducing(T identity, BinaryOperator<T> op) { [all …]
|
D | package-info.java | 733 import java.util.function.BinaryOperator;
|
D | Stream.java | 39 import java.util.function.BinaryOperator; 604 T reduce(T identity, BinaryOperator<T> accumulator); in reduce() 644 Optional<T> reduce(BinaryOperator<T> accumulator); in reduce() 695 BinaryOperator<U> combiner); in reduce()
|
D | ReduceOps.java | 36 import java.util.function.BinaryOperator; 69 makeRef(U seed, BiFunction<U, ? super T, U> reducer, BinaryOperator<U> combiner) { in makeRef() 105 makeRef(BinaryOperator<T> operator) { 159 BinaryOperator<I> combiner = collector.combiner(); 343 BinaryOperator<R> combiner) { 479 BinaryOperator<R> combiner) { 615 BinaryOperator<R> combiner) {
|
D | ReferencePipeline.java | 35 import java.util.function.BinaryOperator; 474 public final P_OUT reduce(final P_OUT identity, final BinaryOperator<P_OUT> accumulator) { 479 public final Optional<P_OUT> reduce(BinaryOperator<P_OUT> accumulator) { 484 …<R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<R> combiner) { 516 return reduce(BinaryOperator.maxBy(comparator)); 521 return reduce(BinaryOperator.minBy(comparator));
|
D | DoublePipeline.java | 34 import java.util.function.BinaryOperator; 473 BinaryOperator<R> operator = (left, right) -> {
|
D | LongPipeline.java | 35 import java.util.function.BinaryOperator; 451 BinaryOperator<R> operator = (left, right) -> {
|
D | IntPipeline.java | 35 import java.util.function.BinaryOperator; 469 BinaryOperator<R> operator = (left, right) -> {
|
D | Nodes.java | 36 import java.util.function.BinaryOperator; 2154 protected final BinaryOperator<T_NODE> concFactory; 2159 BinaryOperator<T_NODE> concFactory) {
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReference.java | 9 import java.util.function.BinaryOperator; 172 BinaryOperator<V> accumulatorFunction) { in getAndAccumulate() 196 BinaryOperator<V> accumulatorFunction) { in accumulateAndGet()
|
D | AtomicReferenceArray.java | 11 import java.util.function.BinaryOperator; 230 BinaryOperator<E> accumulatorFunction) { in getAndAccumulate() 256 BinaryOperator<E> accumulatorFunction) { in accumulateAndGet()
|
D | AtomicReferenceFieldUpdater.java | 15 import java.util.function.BinaryOperator; 223 BinaryOperator<V> accumulatorFunction) { in getAndAccumulate() 248 BinaryOperator<V> accumulatorFunction) { in accumulateAndGet()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Comparators.java | 28 import java.util.function.BinaryOperator;
|
D | ArrayPrefixHelpers.java | 11 import java.util.function.BinaryOperator; 78 final BinaryOperator<T> function; 85 BinaryOperator<T> function, in CumulateTask() 97 CumulateTask(CumulateTask<T> parent, BinaryOperator<T> function, in CumulateTask() 108 final BinaryOperator<T> fn; in compute()
|
D | Arrays.java | 31 import java.util.function.BinaryOperator; 1620 public static <T> void parallelPrefix(T[] array, BinaryOperator<T> op) { in parallelPrefix() 1644 int toIndex, BinaryOperator<T> op) { in parallelPrefix()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TabulatorsTest.java | 43 import java.util.function.BinaryOperator; 114 private final BinaryOperator<V> mergeFn; 118 BinaryOperator<V> mergeFn, in ToMapAssertion() 211 private final BinaryOperator<U> reducer; 213 ReduceAssertion(U identity, Function<T, U> mapper, BinaryOperator<U> reducer) { in ReduceAssertion() 405 BinaryOperator<Integer> sum = Integer::sum; 406 for (BinaryOperator<Integer> op : Arrays.asList((u, v) -> u,
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 29 import java.util.function.BinaryOperator; 98 public static final BinaryOperator<Integer> rPlus = (x, y) -> x+y; 99 public static final BinaryOperator<Integer> rMax = (x, y) -> Math.max(x, y); 100 public static final BinaryOperator<Integer> rMin = (x, y) -> Math.min(x,y);
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 28 import java.util.function.BinaryOperator; 97 public static final BinaryOperator<Integer> rPlus = (x, y) -> x+y; 98 public static final BinaryOperator<Integer> rMax = (x, y) -> Math.max(x, y); 99 public static final BinaryOperator<Integer> rMin = (x, y) -> Math.min(x,y);
|
/libcore/ |
D | openjdk_java_files.mk | 716 ojluni/src/main/java/java/util/function/BinaryOperator.java \
|