Package com.ibm.wala.fixpoint
Class UnaryOr
- java.lang.Object
-
- com.ibm.wala.fixpoint.AbstractOperator<T>
-
- com.ibm.wala.fixpoint.UnaryOperator<BooleanVariable>
-
- com.ibm.wala.fixpoint.UnaryOr
-
- All Implemented Interfaces:
FixedPointConstants
public final class UnaryOr extends UnaryOperator<BooleanVariable>
Operator U(n) = U(n) | 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(@Nullable BooleanVariable lhs, BooleanVariable rhs)Evaluate this equation, setting a new value for the left-hand side.inthashCode()static UnaryOrinstance()StringtoString()-
Methods inherited from class com.ibm.wala.fixpoint.UnaryOperator
evaluate, isIdentity, makeEquation
-
-
-
-
Method Detail
-
instance
public static UnaryOr instance()
-
evaluate
public byte evaluate(@Nullable BooleanVariable lhs, BooleanVariable rhs) throws IllegalArgumentException
Description copied from class:UnaryOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classUnaryOperator<BooleanVariable>- Returns:
- true if the lhs value changes. false otherwise.
- Throws:
IllegalArgumentException
-
toString
public String toString()
- Specified by:
toStringin classAbstractOperator<BooleanVariable>
-
hashCode
public int hashCode()
- Specified by:
hashCodein classAbstractOperator<BooleanVariable>
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classAbstractOperator<BooleanVariable>
-
-