soot.toolkits.scalar
Class LocalUnitPair
java.lang.Object
soot.toolkits.scalar.LocalUnitPair
public class LocalUnitPair
- extends Object
Utility class used to package a Local and a Unit together.
Constructor Summary |
LocalUnitPair(Local local,
Unit unit)
Constructs a LocalUnitPair from a Unit object and a Local object. |
LocalUnitPair
public LocalUnitPair(Local local,
Unit unit)
- Constructs a LocalUnitPair from a Unit object and a Local object.
- Parameters:
local
- some Localunit
- some Unit.
equals
public boolean equals(Object other)
- Two LocalUnitPairs are equal iff they hold the same Unit objects and
the same Local objects within them.
- Overrides:
equals
in class Object
- Parameters:
other
- another LocalUnitPair
- Returns:
- true if other contains the same objects as this.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getLocal
public Local getLocal()
getUnit
public Unit getUnit()