info.rolandkrueger.roklib.util.bool
Class AbstractBinaryBooleanOperation

java.lang.Object
  extended by info.rolandkrueger.roklib.util.bool.AbstractBinaryBooleanOperation
All Implemented Interfaces:
IBooleanOperation, Serializable
Direct Known Subclasses:
AndOperation, OrOperation, XOROperation

public abstract class AbstractBinaryBooleanOperation
extends Object
implements IBooleanOperation

See Also:
Serialized Form

Field Summary
protected  boolean mLeft
           
protected  boolean mRight
           
private static long serialVersionUID
           
 
Constructor Summary
AbstractBinaryBooleanOperation()
           
 
Method Summary
 int getMinimumNumberOfOperands()
           
 boolean isUnaryOperation()
           
 void setLeftHandOperand(boolean left)
           
 void setRightHandOperand(boolean right)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.rolandkrueger.roklib.util.bool.IBooleanOperation
canShortCircuit, execute, getShortCircuit
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mLeft

protected boolean mLeft

mRight

protected boolean mRight
Constructor Detail

AbstractBinaryBooleanOperation

public AbstractBinaryBooleanOperation()
Method Detail

setLeftHandOperand

public void setLeftHandOperand(boolean left)
Specified by:
setLeftHandOperand in interface IBooleanOperation

setRightHandOperand

public void setRightHandOperand(boolean right)
Specified by:
setRightHandOperand in interface IBooleanOperation

getMinimumNumberOfOperands

public int getMinimumNumberOfOperands()
Specified by:
getMinimumNumberOfOperands in interface IBooleanOperation

isUnaryOperation

public boolean isUnaryOperation()
Specified by:
isUnaryOperation in interface IBooleanOperation


Copyright © 2007-2011. All Rights Reserved.