BaseType.ArrayBottomType, BaseType.BooleanType, BaseType.ComplexType, BaseType.DateType, BaseType.DoubleType, BaseType.EventType, BaseType.FloatType, BaseType.GeneralType, BaseType.IntType, BaseType.LongType, BaseType.NilType, BaseType.PetiteType, BaseType.ScalarType, BaseType.ShortType, BaseType.StringType, BaseType.UnknownType, BaseType.UnsignedByteType, BaseType.UnsizedFixType, BaseType.XmlTokenType
ACTOR, ARRAY_BOTTOM, BOOLEAN, BOOLEAN_MATRIX, COMPLEX, COMPLEX_MATRIX, DATE, DOUBLE, DOUBLE_MATRIX, EVENT, FIX, FIX_MATRIX, FLOAT, GENERAL, INT, INT_MATRIX, LONG, LONG_MATRIX, MATRIX, NIL, OBJECT, PETITE, RECORD, SCALAR, SHORT, SIZED_FIX, STRING, UNKNOWN, UNSIGNED_BYTE, UNSIZED_FIX, XMLTOKEN
HASH_INVALID
Modifier and Type | Method and Description |
---|---|
Token |
convert(Token t)
Convert the specified token to a token having the type
represented by this object.
|
int |
getTypeHash()
Return a perfect hash for this type.
|
_addType, add, clone, divide, equals, forClassName, forName, getTokenClass, hashCode, isAbstract, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, modulo, multiply, one, subtract, toString, zero
public Token convert(Token t) throws IllegalActionException
BaseType
convert
in interface Type
convert
in class BaseType
t
- A token.IllegalActionException
- If lossless conversion cannot
be done.public int getTypeHash()
BaseType
getTypeHash
in interface Type
getTypeHash
in class BaseType