MultiplyOperatorpublic class MultiplyOperator extends ArithmeticOperator The implementation of the multiply operator |
Fields Summary |
---|
public static final MultiplyOperator | SINGLETON |
Constructors Summary |
---|
public MultiplyOperator()Constructor
//-------------------------------------
|
Methods Summary |
---|
public double | apply(double pLeft, double pRight, Logger pLogger)Applies the operator to the given double values, returning a double
return pLeft * pRight;
| public long | apply(long pLeft, long pRight, Logger pLogger)Applies the operator to the given double values, returning a double
return pLeft * pRight;
| public java.lang.String | getOperatorSymbol()Returns the symbol representing the operator
return "*";
|
|