|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdx.scorebot.scoring.logic.ExpressionLeftAssociative<UnaryExpression>
cdx.scorebot.scoring.logic.MultiplicativeExpression
public class MultiplicativeExpression
holds an Additive expression
Field Summary |
---|
Fields inherited from class cdx.scorebot.scoring.logic.ExpressionLeftAssociative |
---|
leftOperand, rightOperands |
Constructor Summary | |
---|---|
MultiplicativeExpression(UnaryExpression leftOperand)
instantiate the conditional expression |
Method Summary | |
---|---|
void |
divide(UnaryExpression operand)
divides this expression by this operand |
void |
mod(UnaryExpression operand)
mods this expression by this operand |
void |
times(UnaryExpression operand)
multiplies this expression by this operand |
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 MultiplicativeExpression(UnaryExpression leftOperand)
leftOperand
- left operandMethod Detail |
---|
public void divide(UnaryExpression operand)
operand
- the operand to add to the expressionpublic void mod(UnaryExpression operand)
operand
- the operand to add to the expressionpublic void times(UnaryExpression 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 |