Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cgsuite.basics
Class BasicsPlugin.BasicsMethodInvoker  view BasicsPlugin.BasicsMethodInvoker download BasicsPlugin.BasicsMethodInvoker.java

java.lang.Object
  extended bycgsuite.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


Constructor Summary
private BasicsPlugin.BasicsMethodInvoker()
           
 
Method Summary
 java.lang.Object invoke(java.lang.String name, java.lang.Object[] args, java.util.Map options)
          Invokes this method.
private  FoxAndGeesePosition methodFoxAndGeesePosition(int foxX, int foxY, int[] geese)
           
private  java.lang.Object methodFoxAndGeeseTable(int[] geese, java.util.Map options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicsPlugin.BasicsMethodInvoker

private BasicsPlugin.BasicsMethodInvoker()
Method Detail

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