|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.data.Token
ptolemy.data.ScalarToken
ptolemy.data.FixToken
ptolemy.data.UnsizedFixToken
public class UnsizedFixToken
A token that contains an instance of FixPoint. This token type exists solely so that types can be declared as UNSIZED_FIX through the parameter mechanism, since we don't represent types distinctly from tokens. Generally speaking actors should process FixTokens, which properly report their precision.
FixToken
,
Serialized Form
Yellow (neuendor) |
Yellow (neuendor) |
Field Summary |
---|
Fields inherited from class ptolemy.data.ScalarToken |
---|
_unitCategoryExponents |
Fields inherited from class ptolemy.data.Token |
---|
NIL |
Constructor Summary | |
---|---|
UnsizedFixToken()
Construct a token with integer 0. |
|
UnsizedFixToken(FixPoint value)
Construct an UnsizedFixToken with the supplied FixPoint value. |
Method Summary | |
---|---|
Type |
getType()
Return the type of this token. |
Methods inherited from class ptolemy.data.FixToken |
---|
_absolute, _add, _bitwiseAnd, _bitwiseNot, _bitwiseOr, _bitwiseXor, _divide, _divide, _isCloseTo, _isLessThan, _modulo, _multiply, _quantize, _subtract, convert, convertToDouble, equals, fixValue, hashCode, one, print, quantize, toString, zero |
Methods inherited from class ptolemy.data.ScalarToken |
---|
_addCategoryExponents, _areUnitsEqual, _copyOfCategoryExponents, _isEqualTo, _isUnitless, _subtractCategoryExponents, absolute, add, addReverse, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseXor, byteValue, complexValue, divide, divideReverse, doubleValue, floatValue, intValue, inUnitsOf, isCloseTo, isEqualTo, isGreaterThan, isLessThan, leftShift, logicalRightShift, longValue, modulo, moduloReverse, multiply, multiplyReverse, rightShift, setUnitCategory, shortValue, subtract, subtractReverse, unitsString |
Methods inherited from class ptolemy.data.Token |
---|
isCloseTo, isNil, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, pow, zeroReturnType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnsizedFixToken()
FixPoint.FixPoint(int)
constructor, so the precision and quantization are the what ever
is defined for that constructor
public UnsizedFixToken(FixPoint value)
value
- A FixPoint value.Method Detail |
---|
public Type getType()
getType
in class FixToken
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |