Home
last modified time | relevance | path

Searched refs:maxBy (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/function/
DBinaryOperatorTest.java40 assertEquals("b", BinaryOperator.maxBy(stringComparator).apply("a", "b")); in testMaxBy()
45 BinaryOperator.maxBy(null); in testMaxBy_null()
/libcore/ojluni/src/main/java/java/util/function/
DBinaryOperator.java72 public static <T> BinaryOperator<T> maxBy(Comparator<? super T> comparator) { in maxBy() method
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java450 maxBy(Comparator<? super T> comparator) {
451 return reducing(BinaryOperator.maxBy(comparator));
DReferencePipeline.java517 return reduce(BinaryOperator.maxBy(comparator));
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTabulatorsTest.java300 assertCollect(data, Collectors.maxBy(Comparator.naturalOrder()),