|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cdx.scorebot.scoring.logic.ExpressionLeftAssociative<MultiplicativeExpression> cdx.scorebot.scoring.logic.AdditiveExpression
public class AdditiveExpression
holds an Additive expression
Field Summary |
---|
Fields inherited from class cdx.scorebot.scoring.logic.ExpressionLeftAssociative |
---|
leftOperand, rightOperands |
Constructor Summary | |
---|---|
AdditiveExpression(MultiplicativeExpression leftOperand)
instantiate the conditional expression |
Method Summary | |
---|---|
void |
minus(MultiplicativeExpression operand)
subtracts operand from this expression |
void |
plus(MultiplicativeExpression operand)
adds operand to this expression |
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 AdditiveExpression(MultiplicativeExpression leftOperand)
leftOperand
- left operandMethod Detail |
---|
public void minus(MultiplicativeExpression operand)
operand
- the operand to add to the expressionpublic void plus(MultiplicativeExpression 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 |