Package com.ibm.wala.dataflow.graph
Class BitVectorUnion
- java.lang.Object
-
- com.ibm.wala.fixpoint.AbstractOperator<T>
-
- com.ibm.wala.dataflow.graph.AbstractMeetOperator<BitVectorVariable>
-
- com.ibm.wala.dataflow.graph.BitVectorUnion
-
- All Implemented Interfaces:
FixedPointConstants
public class BitVectorUnion extends AbstractMeetOperator<BitVectorVariable>
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 booleanequals(Object o)byteevaluate(BitVectorVariable lhs, BitVectorVariable[] rhs)Evaluate this equation, setting a new value for the left-hand side.inthashCode()static BitVectorUnioninstance()StringtoString()-
Methods inherited from class com.ibm.wala.dataflow.graph.AbstractMeetOperator
isUnaryNoOp
-
-
-
-
Method Detail
-
instance
public static BitVectorUnion instance()
-
toString
public String toString()
- Specified by:
toStringin classAbstractOperator<BitVectorVariable>- See Also:
Object.toString()
-
hashCode
public int hashCode()
- Specified by:
hashCodein classAbstractOperator<BitVectorVariable>
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classAbstractOperator<BitVectorVariable>
-
evaluate
public byte evaluate(BitVectorVariable lhs, BitVectorVariable[] rhs) throws IllegalArgumentException
Description copied from class:AbstractOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classAbstractOperator<BitVectorVariable>- 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:
IllegalArgumentException- See Also:
AbstractOperator.evaluate(com.ibm.wala.fixpoint.IVariable, com.ibm.wala.fixpoint.IVariable[])
-
-