|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.type.BaseType
ptolemy.data.type.BaseType.BooleanType
The boolean data type
| Nested Class Summary |
| Nested classes inherited from class ptolemy.data.type.BaseType |
BaseType.BooleanType, BaseType.ComplexType, BaseType.DoubleType, BaseType.EventType, BaseType.GeneralType, BaseType.IntType, BaseType.LongType, BaseType.NumericalType, BaseType.ObjectType, BaseType.ScalarType, BaseType.StringType, BaseType.UnknownType, BaseType.UnsignedByteType, BaseType.XmlTokenType |
| Field Summary |
| Fields inherited from class ptolemy.data.type.BaseType |
BOOLEAN, BOOLEAN_MATRIX, COMPLEX, COMPLEX_MATRIX, DOUBLE, DOUBLE_MATRIX, EVENT, FIX, FIX_MATRIX, GENERAL, INT, INT_MATRIX, LONG, LONG_MATRIX, MATRIX, NUMERICAL, OBJECT, SCALAR, STRING, UNKNOWN, UNSIGNED_BYTE, 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. |
int |
getTypeHash()
Return a perfect hash for this type. |
| Methods inherited from class ptolemy.data.type.BaseType |
clone, equals, forClassName, forName, getTokenClass, hashCode, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public Token convert(Token t)
throws IllegalActionException
BaseType
convert in interface Typeconvert in class BaseTypet - A token.
IllegalActionException - If lossless conversion cannot
be done.public int getTypeHash()
BaseType
getTypeHash in interface TypegetTypeHash in class BaseType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||