BinaryOperator (Java SE 26 & JDK 26)
- 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.Methods declared in interface BiFunction
Returns a composed function that first applies this function to its input, and then applies the
afterfunction to the result.Applies this function to the given arguments.
-
Method Details
-
minBy
-
maxBy
-