org.opensourcephysics.ejs.control
Class MethodWithOneParameter
java.lang.Object
org.opensourcephysics.ejs.control.MethodWithOneParameter
public class MethodWithOneParameter
- extends java.lang.Object
A class to store and invoke methods using reflection.
Method Summary |
boolean |
equals(int _type,
java.lang.Object _target,
java.lang.String _name)
|
Value |
invoke(int _type,
java.lang.Object _callingObject)
|
static java.lang.reflect.Method |
resolveMethod(java.lang.Object _target,
java.lang.String _name,
java.lang.Class<?>[] _classList)
|
static java.lang.String[] |
splitMethodName(java.lang.String _inputName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
invoke
public Value invoke(int _type,
java.lang.Object _callingObject)
equals
public boolean equals(int _type,
java.lang.Object _target,
java.lang.String _name)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
resolveMethod
public static java.lang.reflect.Method resolveMethod(java.lang.Object _target,
java.lang.String _name,
java.lang.Class<?>[] _classList)
splitMethodName
public static java.lang.String[] splitMethodName(java.lang.String _inputName)