info.rolandkrueger.roklib.util.bool
Class AbstractUnaryBooleanOperation
java.lang.Object
info.rolandkrueger.roklib.util.bool.AbstractUnaryBooleanOperation
- All Implemented Interfaces:
- IBooleanOperation, Serializable
- Direct Known Subclasses:
- IdentityOperation, NotOperation
public abstract class AbstractUnaryBooleanOperation
- extends Object
- implements IBooleanOperation
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
mValue
protected boolean mValue
AbstractUnaryBooleanOperation
public AbstractUnaryBooleanOperation()
setLeftHandOperand
public void setLeftHandOperand(boolean left)
- Specified by:
setLeftHandOperand
in interface IBooleanOperation
setRightHandOperand
public void setRightHandOperand(boolean right)
- Specified by:
setRightHandOperand
in interface IBooleanOperation
canShortCircuit
public boolean canShortCircuit(boolean firstOperand)
- Specified by:
canShortCircuit
in interface IBooleanOperation
getShortCircuit
public boolean getShortCircuit(boolean firstOperand)
- Specified by:
getShortCircuit
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.