Package com.nt.udc.io
Class COSARExprMultiply
java.lang.Object
com.nt.udc.io.COSARExpr
com.nt.udc.io.COSARExprBinaryNumOp
com.nt.udc.io.COSARExprMultiply
This class represents the multiplication operation.
-
Field Summary
Fields inherited from class com.nt.udc.io.COSARExprBinaryNumOp
m_left, m_rightFields inherited from class com.nt.udc.io.COSARExpr
m_bIsConstant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final doublegetComputedValue(double val1, double val2) This function does the actual computation.protected final StringThis function returns a string representation of the operation.Methods inherited from class com.nt.udc.io.COSARExprBinaryNumOp
eval, toStringMethods inherited from class com.nt.udc.io.COSARExpr
isConstant
-
Constructor Details
-
COSARExprMultiply
- Throws:
Exception
-
-
Method Details
-
getComputedValue
protected final double getComputedValue(double val1, double val2) This function does the actual computation.- Specified by:
getComputedValuein classCOSARExprBinaryNumOp
-
getOpString
This function returns a string representation of the operation.- Specified by:
getOpStringin classCOSARExprBinaryNumOp
-