Class MultiplyOperator


  • public class MultiplyOperator
    extends ArithmeticOperator

    The implementation of the multiply operator

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

      Constructors 
      Constructor Description
      MultiplyOperator()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double apply​(double pLeft, double pRight, Logger pLogger)
      Applies the operator to the given double values, returning a double
      long apply​(long pLeft, long pRight, Logger pLogger)
      Applies the operator to the given double values, returning a double
      java.lang.String getOperatorSymbol()
      Returns the symbol representing the operator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultiplyOperator

        public MultiplyOperator()
        Constructor
    • Method Detail

      • getOperatorSymbol

        public java.lang.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