|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.actor.lib.security.KeyToken.KeyType
The cryptographic key type.
| Field Summary |
| Fields inherited from interface ptolemy.data.type.Type |
HASH_INVALID, HASH_MAX |
| Method Summary | |
java.lang.Object |
clone()
Return this, that is, return the reference to this object. |
ptolemy.data.Token |
convert(ptolemy.data.Token token)
Convert the specified token to a token having the type represented by 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(ptolemy.data.type.Type type)
Test if the argument type is compatible with this type. |
boolean |
isConstant()
Test if this Type is UNKNOWN. |
boolean |
isInstantiable()
Determine if this type corresponds to an instantiable token classes. |
boolean |
isSubstitutionInstance(ptolemy.data.type.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 |
| Method Detail |
public java.lang.Object clone()
clone in interface ptolemy.data.type.Type
public ptolemy.data.Token convert(ptolemy.data.Token token)
throws ptolemy.kernel.util.IllegalActionException
convert in interface ptolemy.data.type.Typetoken - A token.
ptolemy.kernel.util.IllegalActionException - If lossless conversion cannot
be done.public java.lang.Class getTokenClass()
getTokenClass in interface ptolemy.data.type.Typepublic boolean isCompatible(ptolemy.data.type.Type type)
isCompatible in interface ptolemy.data.type.Typetype - An instance of Type.
public boolean isConstant()
isConstant in interface ptolemy.data.type.Typepublic int getTypeHash()
getTypeHash in interface ptolemy.data.type.Typepublic boolean isInstantiable()
isInstantiable in interface ptolemy.data.type.Typepublic boolean isSubstitutionInstance(ptolemy.data.type.Type type)
isSubstitutionInstance in interface ptolemy.data.type.Typetype - A Type.
public java.lang.String toString()
toString in interface ptolemy.data.type.Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||