Returns a BinaryOperator
which returns the greater of two elements
according to the specified Comparator
.
<T> | the type of the input arguments of the comparator | |
comparator | a Comparator for comparing the two values |
BinaryOperator
which returns the greater of its operands,
according to the supplied Comparator
NullPointerException | if the argument is null |
Diagram: function