Searched refs:maxBy (Results 1 – 5 of 5) sorted by relevance
40 assertEquals("b", BinaryOperator.maxBy(stringComparator).apply("a", "b")); in testMaxBy()45 BinaryOperator.maxBy(null); in testMaxBy_null()
72 public static <T> BinaryOperator<T> maxBy(Comparator<? super T> comparator) { in maxBy() method
450 maxBy(Comparator<? super T> comparator) {451 return reducing(BinaryOperator.maxBy(comparator));
517 return reduce(BinaryOperator.maxBy(comparator));
300 assertCollect(data, Collectors.maxBy(Comparator.naturalOrder()),