Home
last modified time | relevance | path

Searched refs:maxBy (Results 1 – 9 of 9) 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.java665 maxBy(Comparator<? super T> comparator) {
666 return reducing(BinaryOperator.maxBy(comparator));
DReferencePipeline.java722 return reduce(BinaryOperator.maxBy(comparator));
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DCollectors.annotated.java61 public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> maxBy(java.util.Comparator<… in maxBy() method in Collectors
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectorsTest.java379 assertCollect(data, Collectors.maxBy(Comparator.naturalOrder()),
778 …Collector<Integer, ?, Integer> max = collectingAndThen(Collectors.<Integer>maxBy(Comparator.natura…
DTabulatorsTest.java300 assertCollect(data, Collectors.maxBy(Comparator.naturalOrder()),
/libcore/ojluni/src/test/java/util/stream/Collectors/
DCollectorsTest.java361 assertCollect(data, Collectors.maxBy(Comparator.naturalOrder()),
/libcore/api/
Dcurrent.txt17088 …method public static <T> java.util.function.BinaryOperator<T> maxBy(java.util.Comparator<? super T…
18209 …method public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> maxBy(java.util.Com…