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