cgsuite.basics
Class BasicsPlugin.BasicsMethodInvoker

java.lang.Object
cgsuite.basics.BasicsPlugin.BasicsMethodInvoker
- All Implemented Interfaces:
- cgsuite.plugin.MethodInvoker
- Enclosing class:
- BasicsPlugin
- private static class BasicsPlugin.BasicsMethodInvoker
- extends java.lang.Object
- implements cgsuite.plugin.MethodInvoker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicsPlugin.BasicsMethodInvoker
private BasicsPlugin.BasicsMethodInvoker()
invoke
public java.lang.Object invoke(java.lang.String name,
java.lang.Object[] args,
java.util.Map options)
throws cgsuite.plugin.MethodInvocationException
- Description copied from interface:
cgsuite.plugin.MethodInvoker
- Invokes this method.
arguments contains the method
arguments, whose types must match the argument types specified by the
associated cgsuite.plugin.MethodInfo. optionalArguments
contains any optional arguments specified by the user. It maps the
name 55 of each optional
argument to the value given by the user, which must be of the type
specified by the associated cgsuite.plugin.MethodInfo.OptionalArgumentInfo.
If the user does not include a given optional argument, then its
defaultValue 55 will
be used, if one exists; otherwise it will be omitted from the mapping.
(In particular, if the user does not specify any option arguments, and
no optional arguments have defaults, then this map will be empty.)
- Specified by:
invoke in interface cgsuite.plugin.MethodInvoker
methodFoxAndGeesePosition
private FoxAndGeesePosition methodFoxAndGeesePosition(int foxX,
int foxY,
int[] geese)
throws cgsuite.plugin.MethodInvocationException
methodFoxAndGeeseTable
private java.lang.Object methodFoxAndGeeseTable(int[] geese,
java.util.Map options)
throws cgsuite.plugin.MethodInvocationException