Class MinusOperator


  • public class MinusOperator
    extends ArithmeticOperator

    The implementation of the minus operator

    Author:
    Nathan Abramson - Art Technology Group
    • Constructor Detail

      • MinusOperator

        public MinusOperator()
        Constructor
    • Method Detail

      • apply

        public double apply​(double pLeft,
                            double pRight,
                            Logger pLogger)
        Applies the operator to the given double values, returning a double
        Specified by:
        apply in class ArithmeticOperator
      • apply

        public long apply​(long pLeft,
                          long pRight,
                          Logger pLogger)
        Applies the operator to the given double values, returning a double
        Specified by:
        apply in class ArithmeticOperator