public class ConcreteScalarToken extends ScalarToken
| Yellow (wbwu) |
| Yellow (yuhong) |
_unitCategoryExponents| Constructor and Description |
|---|
ConcreteScalarToken() |
| Modifier and Type | Method and Description |
|---|---|
protected ScalarToken |
_absolute()
Return this token.
|
protected ScalarToken |
_add(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_bitwiseAnd(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_bitwiseNot()
Throw an exception.
|
protected ScalarToken |
_bitwiseOr(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_bitwiseXor(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_divide(ScalarToken rightArgument)
Throw an exception.
|
protected BooleanToken |
_isCloseTo(ScalarToken rightArgument,
double epsilon)
Throw an exception.
|
protected BooleanToken |
_isLessThan(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_modulo(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_multiply(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
_subtract(ScalarToken rightArgument)
Throw an exception.
|
Type |
getType()
Return the type of this token.
|
_addCategoryExponents, _areUnitsEqual, _copyOfCategoryExponents, _isEqualTo, _isUnitless, _subtractCategoryExponents, absolute, add, addReverse, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseXor, byteValue, complexValue, divide, divideReverse, doubleValue, fixValue, floatValue, intValue, inUnitsOf, isCloseTo, isEqualTo, isGreaterThan, isLessThan, isLessThan, leftShift, logicalRightShift, longValue, modulo, moduloReverse, multiply, multiplyReverse, rightShift, setUnitCategory, shortValue, subtract, subtractReverse, unitsStringisCloseTo, isNil, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, toString, zero, zeroReturnTypepublic Type getType()
getType in class ScalarTokenprotected ScalarToken _absolute()
_absolute in class ScalarTokenprotected ScalarToken _add(ScalarToken rightArgument) throws IllegalActionException
_add in class ScalarTokenrightArgument - The token to add to this token.IllegalActionException - If this method is not
supported by the derived class.protected ScalarToken _bitwiseAnd(ScalarToken rightArgument) throws IllegalActionException
_bitwiseAnd in class ScalarTokenrightArgument - The ScalarToken to bitwise AND with this one.IllegalActionException - If the given token is not
compatible for this operation, or the operation does not make
sense for this type.protected ScalarToken _bitwiseNot() throws IllegalActionException
_bitwiseNot in class ScalarTokenIllegalActionException - If the given token is not
compatible for this operation, or the operation does not make
sense for this type.protected ScalarToken _bitwiseOr(ScalarToken rightArgument) throws IllegalActionException
_bitwiseOr in class ScalarTokenrightArgument - The ScalarToken to bitwise OR with this one.IllegalActionException - If the given token is not
compatible for this operation, or the operation does not make
sense for this type.protected ScalarToken _bitwiseXor(ScalarToken rightArgument) throws IllegalActionException
_bitwiseXor in class ScalarTokenrightArgument - The ScalarToken to bitwise XOR with this one.IllegalActionException - If the given token is not
compatible for this operation, or the operation does not make
sense for this type.protected ScalarToken _divide(ScalarToken rightArgument) throws IllegalActionException
_divide in class ScalarTokenrightArgument - The token to divide this token by.IllegalActionException - If this method is not
supported by the derived class.protected BooleanToken _isCloseTo(ScalarToken rightArgument, double epsilon) throws IllegalActionException
_isCloseTo in class ScalarTokenrightArgument - The token to compare to this token.epsilon - The value that we use to determine whether two
tokens are close.IllegalActionException - If there is a problem processing
the rightArgument.protected BooleanToken _isLessThan(ScalarToken rightArgument) throws IllegalActionException
_isLessThan in class ScalarTokenrightArgument - The token to add to this token.IllegalActionException - If this method is not
supported by the derived class.protected ScalarToken _modulo(ScalarToken rightArgument) throws IllegalActionException
_modulo in class ScalarTokenrightArgument - The token to modulo this token by.IllegalActionException - If this method is not
supported by the derived class.protected ScalarToken _multiply(ScalarToken rightArgument) throws IllegalActionException
_multiply in class ScalarTokenrightArgument - The token to multiply this token by.IllegalActionException - If this method is not
supported by the derived class.protected ScalarToken _subtract(ScalarToken rightArgument) throws IllegalActionException
_subtract in class ScalarTokenrightArgument - The token to subtract from this token.IllegalActionException - If this method is not
supported by the derived class.