List of usage examples for java.util.function BinaryOperator minBy
public static <T> BinaryOperator<T> minBy(Comparator<? super T> comparator)
From source file:Main.java
public static void main(String[] args) { BinaryOperator<Integer> bi = BinaryOperator.minBy(Comparator.reverseOrder()); System.out.println(bi.apply(2, 3)); }