Interface OperationSolver.TriOperator<T,O>

Type Parameters:
T - Input Value / Result type.
O - Operator type.
Enclosing class:
OperationSolver<V extends Pointable,O extends Pointable>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface OperationSolver.TriOperator<T,O>
Operation between two values and an operator.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T a, T b, O op)
    Applies this function to the given arguments.
  • Method Details

    • apply

      T apply(T a, T b, O op)
      Applies this function to the given arguments.
      Parameters:
      a - the first function argument
      b - the second function argument
      op - operator used
      Returns:
      the function result