Class BooleanIdentity
-
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 BooleanIdentity
instance()
boolean
toString()
Methods inherited from class com.ibm.wala.fixpoint.UnaryOperator
evaluate, 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:
- a constant defined by
FixedPointConstants
that reflects whether the lhs value changed - 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>
-
isIdentity
public boolean isIdentity()- Overrides:
isIdentity
in classUnaryOperator<BooleanVariable>
-