|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdx.scorebot.scoring.logic.ExpressionLeftAssociative<AdditiveExpression>
cdx.scorebot.scoring.logic.RelationalExpression
public class RelationalExpression
holds a Relational expression
Field Summary |
---|
Fields inherited from class cdx.scorebot.scoring.logic.ExpressionLeftAssociative |
---|
leftOperand, rightOperands |
Constructor Summary | |
---|---|
RelationalExpression(AdditiveExpression leftOperand)
instantiate the conditional expression |
Method Summary | |
---|---|
void |
greater_than_or_equal(AdditiveExpression operand)
compares this expression to this operand with the >= operator |
void |
greater_than(AdditiveExpression operand)
compares this expression to this operand with the > operator |
void |
less_than_or_equal(AdditiveExpression operand)
compares this expression to this operand with the <= operator |
void |
less_than(AdditiveExpression operand)
compares this expression to this operand with the < operator |
Methods inherited from class cdx.scorebot.scoring.logic.ExpressionLeftAssociative |
---|
addOperand, evaluateLogic, evaluateTypeOnly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cdx.scorebot.scoring.logic.LogicCodeEvaluatable |
---|
evaluateLogic, evaluateTypeOnly |
Constructor Detail |
---|
public RelationalExpression(AdditiveExpression leftOperand)
leftOperand
- left operandMethod Detail |
---|
public void less_than(AdditiveExpression operand)
operand
- the operand to add to the expressionpublic void less_than_or_equal(AdditiveExpression operand)
operand
- the operand to add to the expressionpublic void greater_than(AdditiveExpression operand)
operand
- the operand to add to the expressionpublic void greater_than_or_equal(AdditiveExpression operand)
operand
- the operand to add to the expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |