cdx.scorebot.scoring.logic
Class ConditionalXorExpression

java.lang.Object
  extended by cdx.scorebot.scoring.logic.ExpressionLeftAssociative<EqualityExpression>
      extended by cdx.scorebot.scoring.logic.ConditionalXorExpression
All Implemented Interfaces:
LogicCode, LogicCodeEvaluatable

public class ConditionalXorExpression
extends ExpressionLeftAssociative<EqualityExpression>
implements LogicCodeEvaluatable

holds a conditional XOR expression

Author:
David Underhill

Field Summary
 
Fields inherited from class cdx.scorebot.scoring.logic.ExpressionLeftAssociative
leftOperand, rightOperands
 
Constructor Summary
ConditionalXorExpression(EqualityExpression leftOperand)
          instantiate the conditional expression
 
Method Summary
 void xor(EqualityExpression operand)
          evaluates this expression XOR'ed with 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

ConditionalXorExpression

public ConditionalXorExpression(EqualityExpression leftOperand)
instantiate the conditional expression

Parameters:
leftOperand - left operand
Method Detail

xor

public void xor(EqualityExpression operand)
evaluates this expression XOR'ed with this operand

Parameters:
operand - the operand to add to the expression