Interface Operation<L,R,T>
- Type Parameters:
L- The class of the left operand.R- The class of the right operand.T- The return type of the operation.
- All Superinterfaces:
BiFunction<L,R, T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a pure binary operation
that takes two operands of types
L and R, performs a calculation,
and returns a result of type T.-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
calculate
Performs the calculation for two given operands.- Parameters:
left- left operandright- right operand- Returns:
- result
-
apply
- Specified by:
applyin interfaceBiFunction<L,R, T>
-