com.ibm.wala.dataflow.graph
Class BitVectorUnionConstant

java.lang.Object
  extended by com.ibm.wala.fixpoint.AbstractOperator<T>
      extended by com.ibm.wala.fixpoint.UnaryOperator<BitVectorVariable>
          extended by com.ibm.wala.dataflow.graph.BitVectorUnionConstant
All Implemented Interfaces:
FixedPointConstants

public class BitVectorUnionConstant
extends UnaryOperator<BitVectorVariable>

Operator OUT = IN U c


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
 
Constructor Summary
BitVectorUnionConstant(int c)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 byte evaluate(BitVectorVariable lhs, BitVectorVariable rhs)
          Evaluate this equation, setting a new value for the left-hand side.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.fixpoint.UnaryOperator
evaluate, isIdentity, makeEquation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitVectorUnionConstant

public BitVectorUnionConstant(int c)
Method Detail

evaluate

public byte evaluate(BitVectorVariable lhs,
                     BitVectorVariable 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<BitVectorVariable>
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<BitVectorVariable>

hashCode

public int hashCode()
Specified by:
hashCode in class AbstractOperator<BitVectorVariable>

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class AbstractOperator<BitVectorVariable>