info.rolandkrueger.roklib.util.bool
Interface IBooleanOperation

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractBinaryBooleanOperation, AbstractUnaryBooleanOperation, AndOperation, IdentityOperation, NotOperation, OrOperation, XOROperation

public interface IBooleanOperation
extends Serializable


Method Summary
 boolean canShortCircuit(boolean firstOperand)
           
 boolean execute()
           
 int getMinimumNumberOfOperands()
           
 boolean getShortCircuit(boolean firstOperand)
           
 boolean isUnaryOperation()
           
 void setLeftHandOperand(boolean left)
           
 void setRightHandOperand(boolean right)
           
 

Method Detail

execute

boolean execute()

setLeftHandOperand

void setLeftHandOperand(boolean left)

setRightHandOperand

void setRightHandOperand(boolean right)

canShortCircuit

boolean canShortCircuit(boolean firstOperand)

getShortCircuit

boolean getShortCircuit(boolean firstOperand)

getMinimumNumberOfOperands

int getMinimumNumberOfOperands()

isUnaryOperation

boolean isUnaryOperation()


Copyright © 2007-2011. All Rights Reserved.