|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.groovyj.jgprog.Function
|
+--com.groovyj.jgprog.functions.Nop
Do nothing.
Copyright (c) 2000 Robert Baruch. This code is released under the GNU General Public License (GPL).
| Fields inherited from class com.groovyj.jgprog.Function |
arity, individual, returnType |
| Constructor Summary | |
Nop()
|
|
| Method Summary | |
void |
execute_void(Chromosome c,
int n)
Executes this node, returning nothing. |
Type |
getChildType(int parm1)
Gets the type of node allowed form the given child number. |
java.lang.String |
getName()
Gets the name of this node. |
| Methods inherited from class com.groovyj.jgprog.Function |
execute_boolean, execute_double, execute_float, execute_int, execute_long, execute_object, execute, getArity, getReturnType, setIndividual, setReturnType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Nop()
| Method Detail |
public java.lang.String getName()
FunctiongetName in class Functioncom.groovyj.jgprog.Functionpublic Type getChildType(int parm1)
FunctiongetChildType in class Functioncom.groovyj.jgprog.Functioni - the child number
public void execute_void(Chromosome c,
int n)
Functionexecute_void in class Functioncom.groovyj.jgprog.FunctionUnsupportedOperationException - if the type of this node is not void
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||