Package ptolemy.data.type
Class BaseType.ArrayBottomType
- java.lang.Object
-
- ptolemy.data.type.BaseType
-
- ptolemy.data.type.BaseType.ArrayBottomType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.data.type.BaseType
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
-
-
Field Summary
-
Fields inherited from class ptolemy.data.type.BaseType
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
-
Fields inherited from interface ptolemy.data.type.Type
HASH_INVALID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
convert(Token t)
Convert the specified token to a token having the type represented by this object.-
Methods inherited from class ptolemy.data.type.BaseType
add, addType, clone, divide, equals, forClassName, forName, getTokenClass, getTypeHash, hashCode, isAbstract, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, modulo, multiply, one, subtract, toString, zero
-
-
-
-
Method Detail
-
convert
public Token convert(Token t) throws IllegalActionException
Description copied from class:BaseType
Convert the specified token to a token having the type represented by this object.- Specified by:
convert
in interfaceType
- Specified by:
convert
in classBaseType
- Parameters:
t
- A token.- Returns:
- A token.
- Throws:
IllegalActionException
- If lossless conversion cannot be done.
-
-