Interface BinaryFunction<T,​R>

    • Method Detail

      • perform

        R perform​(T left,
                  T right)
        Has to be implemented to perform the actual operation. The order of operands might be important or not, depending, if the operation is commutative or not.
        Parameters:
        left - the left operand to be used in the operation
        right - the right operand to be used in the operation
        Returns:
        the result of the operation