Package com.ibm.wala.dataflow.graph
Class BooleanUnion
- java.lang.Object
-
- com.ibm.wala.fixpoint.AbstractOperator<T>
-
- com.ibm.wala.dataflow.graph.AbstractMeetOperator<BooleanVariable>
-
- com.ibm.wala.dataflow.graph.BooleanUnion
-
- All Implemented Interfaces:
FixedPointConstants
public class BooleanUnion extends AbstractMeetOperator<BooleanVariable> implements FixedPointConstants
Operator U(n) = U(n) U U(j)
-
-
Field Summary
-
Fields inherited from interface com.ibm.wala.fixpoint.FixedPointConstants
CHANGED, CHANGED_AND_FIXED, CHANGED_MASK, FIXED_MASK, NOT_CHANGED, NOT_CHANGED_AND_FIXED, SIDE_EFFECT_MASK
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte
evaluate(BooleanVariable lhs, BooleanVariable[] rhs)
Evaluate this equation, setting a new value for the left-hand side.int
hashCode()
static BooleanUnion
instance()
String
toString()
-
Methods inherited from class com.ibm.wala.dataflow.graph.AbstractMeetOperator
isUnaryNoOp
-
-
-
-
Method Detail
-
instance
public static BooleanUnion instance()
-
toString
public String toString()
- Specified by:
toString
in classAbstractOperator<BooleanVariable>
- See Also:
Object.toString()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classAbstractOperator<BooleanVariable>
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classAbstractOperator<BooleanVariable>
-
evaluate
public byte evaluate(BooleanVariable lhs, BooleanVariable[] rhs) throws NullPointerException
Description copied from class:AbstractOperator
Evaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluate
in classAbstractOperator<BooleanVariable>
- Returns:
- a code that indicates: 1) has the lhs value changed? 2) has this equation reached a fixed-point, in that we never have to evaluate the equation again, even if rhs operands change?
- Throws:
NullPointerException
-
-