com.ibm.wala.dataflow.graph
Class BooleanIdentity
java.lang.Object
com.ibm.wala.fixpoint.AbstractOperator<T>
com.ibm.wala.fixpoint.UnaryOperator<BooleanVariable>
com.ibm.wala.dataflow.graph.BooleanIdentity
- All Implemented Interfaces:
- FixedPointConstants
public class BooleanIdentity
- extends UnaryOperator<BooleanVariable>
Operator OUT = IN
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
instance
public static BooleanIdentity instance()
evaluate
public byte evaluate(BooleanVariable lhs,
BooleanVariable rhs)
throws java.lang.IllegalArgumentException
- Description copied from class:
UnaryOperator
- Evaluate this equation, setting a new value for the left-hand side.
- Specified by:
evaluate in class UnaryOperator<BooleanVariable>
- Returns:
- true if the lhs value changes. false otherwise.
- Throws:
java.lang.IllegalArgumentException
toString
public java.lang.String toString()
- Specified by:
toString in class AbstractOperator<BooleanVariable>
hashCode
public int hashCode()
- Specified by:
hashCode in class AbstractOperator<BooleanVariable>
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in class AbstractOperator<BooleanVariable>
isIdentity
public boolean isIdentity()
- Overrides:
isIdentity in class UnaryOperator<BooleanVariable>