public class LessEqualBoolean extends ProgramNode
children, parent, TYPE_BOOLEAN, TYPE_DOUBLE, TYPE_INT, TYPE_UNDEFINED, values| Constructor and Description |
|---|
LessEqualBoolean()
Constructing the function with two operands.
|
LessEqualBoolean(Element n)
Creates the function via XML.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eval()
Compares first with second child.
|
int |
getOperandType(int index)
Returns the operand type for both children.
|
int |
getResultType()
Returns the result type.
|
java.lang.String |
getSignature()
Returns the string signature of the node.
|
void |
mutate()
Changes the operand sequence.
|
java.lang.String |
toString()
Returns the string representation of the node.
|
addValue, children, clearValues, clone, create, equals, getAllowsChildren, getChildAt, getChildCount, getIndex, getLevel, getParent, hashCode, insert, isLeaf, randomize, remove, remove, removeFromParent, setParent, setUserObject, toXmlpublic LessEqualBoolean()
public LessEqualBoolean(Element n)
n - an XML node elementpublic int getOperandType(int index)
getOperandType in class ProgramNodeindex - a child indexpublic int getResultType()
getResultType in class ProgramNodepublic java.lang.Object eval()
eval in class ProgramNodepublic void mutate()
mutate in class ProgramNodepublic java.lang.String getSignature()
getSignature in class ProgramNodepublic java.lang.String toString()
toString in class ProgramNode