|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.ActorToken.ActorType
| Field Summary |
| Fields inherited from interface ptolemy.data.type.Type |
HASH_INVALID, HASH_MAX |
| Constructor Summary | |
ActorToken.ActorType()
|
|
| Method Summary | |
java.lang.Object |
clone()
Return this, that is, return the reference to this object. |
Token |
convert(Token token)
Convert the specified token to a token having the type represented by this object. |
boolean |
equals(Type t)
Determine if the argument represents the same BaseType as this object. |
java.lang.Class |
getTokenClass()
Return the class for tokens that this basetype represents. |
int |
getTypeHash()
Return this type's node index in the (constant) type lattice. |
boolean |
isCompatible(Type type)
Model if the argument type is compatible with this type. |
boolean |
isConstant()
Model if this Type is UNKNOWN. |
boolean |
isInstantiable()
Determine if this type corresponds to an instantiable token classes. |
boolean |
isSubstitutionInstance(Type type)
Return true if the argument is a substitution instance of this type. |
java.lang.String |
toString()
Return the string representation of this type. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ptolemy.data.type.Type |
equals |
| Constructor Detail |
public ActorToken.ActorType()
| Method Detail |
public java.lang.Object clone()
clone in interface Type
public Token convert(Token token)
throws IllegalActionException
convert in interface Typetoken - A token.
IllegalActionException - If lossless conversion cannot
be done.public java.lang.Class getTokenClass()
getTokenClass in interface Typepublic boolean isCompatible(Type type)
isCompatible in interface Typetype - An instance of Type.
public boolean isConstant()
isConstant in interface Typepublic boolean equals(Type t)
t - A Type.
public int getTypeHash()
getTypeHash in interface Typepublic boolean isInstantiable()
isInstantiable in interface Typepublic boolean isSubstitutionInstance(Type type)
isSubstitutionInstance in interface Typetype - A Type.
public java.lang.String toString()
toString in interface Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||