Class MinusOperator


public class MinusOperator extends ArithmeticOperator

The implementation of the minus operator

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
Author:
Nathan Abramson - Art Technology Group
  • Field Details

  • Constructor Details

    • MinusOperator

      public MinusOperator()
      Constructor
  • Method Details

    • getOperatorSymbol

      public String getOperatorSymbol()
      Returns the symbol representing the operator
      Specified by:
      getOperatorSymbol in class BinaryOperator
    • 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