|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.onemind.commons.invoke.AbstractInvocableFunction
An abstract implementation of InvocableFunction
Constructor Summary | |
AbstractInvocableFunction(java.lang.String name)
Constructor |
|
AbstractInvocableFunction(java.lang.String name,
java.lang.Class[] argTypes)
Constructor |
Method Summary | |
boolean |
canInvokeOn(java.lang.Class[] argTypes)
Whether this method can be invoke on the given arguments |
java.lang.Class[] |
getArgTypes()
Return the argTypes |
java.lang.String |
getName()
Return the name |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.onemind.commons.invoke.InvocableFunction |
invoke |
Constructor Detail |
public AbstractInvocableFunction(java.lang.String name)
name
- the namepublic AbstractInvocableFunction(java.lang.String name, java.lang.Class[] argTypes)
name
- the nameargTypes
- the argument typesMethod Detail |
public boolean canInvokeOn(java.lang.Class[] argTypes)
canInvokeOn
in interface InvocableFunction
public final java.lang.Class[] getArgTypes()
getArgTypes
in interface InvocableFunction
public final java.lang.String getName()
getName
in interface InvocableFunction
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |