Package soot.jimple.toolkits.infoflow
Class CachedEquivalentValue
- java.lang.Object
-
- soot.EquivalentValue
-
- soot.jimple.toolkits.infoflow.CachedEquivalentValue
-
- All Implemented Interfaces:
Serializable,EquivTo,Switchable,Value
public class CachedEquivalentValue extends EquivalentValue
AnEquivalentValuewith cached hash code and equals-relation.- Author:
- Eric Bodden
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intcodeprotected WeakHashMap<Value,Boolean>isEquivalent
-
Constructor Summary
Constructors Constructor Description CachedEquivalentValue(Value e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()-
Methods inherited from class soot.EquivalentValue
apply, clone, equalsToValue, equivHashCode, equivTo, equivToValue, getDeepestValue, getType, getUseBoxes, getValue, toString, toString
-
-
-
-
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:
hashCodein classEquivalentValue
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classEquivalentValue
-
-