soot.jimple.toolkits.infoflow
Class CachedEquivalentValue

java.lang.Object
  extended by soot.EquivalentValue
      extended by soot.jimple.toolkits.infoflow.CachedEquivalentValue
All Implemented Interfaces:
Serializable, EquivTo, Switchable, Value

public class CachedEquivalentValue
extends EquivalentValue

An EquivalentValue with cached hash code and equals-relation.

Author:
Eric Bodden
See Also:
Serialized Form

Field Summary
protected  int code
           
protected  WeakHashMap<Value,Boolean> isEquivalent
           
 
Constructor Summary
CachedEquivalentValue(Value e)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class soot.EquivalentValue
apply, clone, equalsToValue, equivHashCode, equivTo, equivToValue, getDeepestValue, getType, getUseBoxes, getValue, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

code

protected int code

isEquivalent

protected WeakHashMap<Value,Boolean> isEquivalent
Constructor Detail

CachedEquivalentValue

public CachedEquivalentValue(Value e)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class EquivalentValue

equals

public boolean equals(Object o)
Overrides:
equals in class EquivalentValue