Class UnaryOr
-
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
Modifier and TypeMethodDescriptionboolean
byte
evaluate
(@Nullable BooleanVariable lhs, BooleanVariable rhs) Evaluate this equation, setting a new value for the left-hand side.int
hashCode()
static UnaryOr
instance()
toString()
Methods inherited from class com.ibm.wala.fixpoint.UnaryOperator
evaluate, isIdentity, makeEquation
-
Method Details
-
instance
-
evaluate
public byte evaluate(@Nullable BooleanVariable lhs, BooleanVariable rhs) throws IllegalArgumentException Description copied from class:UnaryOperator
Evaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluate
in classUnaryOperator<BooleanVariable>
- Returns:
- true if the lhs value changes. false otherwise.
- Throws:
IllegalArgumentException
-
toString
- Specified by:
toString
in classAbstractOperator<BooleanVariable>
-
hashCode
public int hashCode()- Specified by:
hashCode
in classAbstractOperator<BooleanVariable>
-
equals
- Specified by:
equals
in classAbstractOperator<BooleanVariable>
-