|
|||||||||
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.GreaterThan
Inner Class Summary | |
static interface |
GreaterThan.Compatible
|
Fields inherited from class com.groovyj.jgprog.Function |
arity, individual, returnType |
Constructor Summary | |
GreaterThan(Type type)
|
Method Summary | |
boolean |
execute_boolean(Chromosome c,
int n)
Executes this node as a boolean. |
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_double, execute_float, execute_int, execute_long, execute_object, execute_void, 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 GreaterThan(Type type)
Method Detail |
public java.lang.String getName()
Function
getName
in class Function
com.groovyj.jgprog.Function
public boolean execute_boolean(Chromosome c, int n)
Function
execute_boolean
in class Function
com.groovyj.jgprog.Function
UnsupportedOperationException
- if the type of this node is not booleanpublic Type getChildType(int parm1)
Function
getChildType
in class Function
com.groovyj.jgprog.Function
i
- the child number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |