ptolemy.data.type
Class BaseType.UnsizedFixType

java.lang.Object
  extended by ptolemy.data.type.BaseType
      extended by ptolemy.data.type.BaseType.UnsizedFixType
All Implemented Interfaces:
java.io.Serializable, Type
Enclosing class:
BaseType

public static class BaseType.UnsizedFixType
extends BaseType

The fix data type.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class ptolemy.data.type.BaseType
BaseType.ArrayBottomType, BaseType.BooleanType, BaseType.ComplexType, BaseType.DoubleType, BaseType.EventType, BaseType.FloatType, BaseType.GeneralType, BaseType.IntType, BaseType.LongType, BaseType.NilType, BaseType.ObjectType, 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
ARRAY_BOTTOM, BOOLEAN, BOOLEAN_MATRIX, COMPLEX, COMPLEX_MATRIX, DOUBLE, DOUBLE_MATRIX, EVENT, FIX, FIX_MATRIX, FLOAT, GENERAL, INT, INT_MATRIX, LONG, LONG_MATRIX, MATRIX, NIL, OBJECT, PETITE, SCALAR, SHORT, SIZED_FIX, STRING, UNKNOWN, UNSIGNED_BYTE, UNSIZED_FIX, XMLTOKEN
 
Fields inherited from interface ptolemy.data.type.Type
HASH_INVALID, HASH_MAX
 
Method Summary
 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, clone, divide, equals, forClassName, forName, getTokenClass, getTypeHash, hashCode, isAbstract, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, modulo, multiply, one, subtract, toString, zero
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface Type
Specified by:
convert in class BaseType
Parameters:
t - A token.
Returns:
A token.
Throws:
IllegalActionException - If lossless conversion cannot be done.