Class QuantityDivision<S>

    • Method Detail

      • perform

        public QuantifiedValue<S> perform​(QuantifiedValue<S> left,
                                          QuantifiedValue<S> right)
        Description copied from interface: BinaryFunction
        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