BinaryOperator (Java SE 25 & JDK 25)
- Type Parameters:
T- the type of the operands and result of the operator
- All Superinterfaces:
BiFunction<T,T, T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Static Methods
Returns a
BinaryOperatorwhich returns the greater of two elements according to the specifiedComparator.Returns a
BinaryOperatorwhich returns the lesser of two elements according to the specifiedComparator.
-
Method Details
-
minBy
-
maxBy
-