|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.expr.CachedMethod.ArgumentConversion
ptolemy.data.expr.CachedMethod.TypeArgumentConversion
Class representing an argument conversion to another ptolemy type, Followed by the given conversion. This conversion always has preference two.
| Field Summary |
| Fields inherited from class ptolemy.data.expr.CachedMethod.ArgumentConversion |
_preference |
| Method Summary | |
java.lang.Object |
convert(Token input)
Convert the given token into an object that can be used to invoke a method through the reflection mechanism. |
boolean |
isPreferableTo(CachedMethod.ArgumentConversion conversion)
Return true if this conversion is preferable to the given conversion. |
java.lang.String |
toString()
Return a string representation of this conversion. |
| Methods inherited from class ptolemy.data.expr.CachedMethod.ArgumentConversion |
getPreference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.Object convert(Token input)
throws IllegalActionException
convert in class CachedMethod.ArgumentConversionIllegalActionExceptionpublic boolean isPreferableTo(CachedMethod.ArgumentConversion conversion)
isPreferableTo in class CachedMethod.ArgumentConversionpublic java.lang.String toString()
toString in class CachedMethod.ArgumentConversion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||