soot.toolkits.scalar
Class UnitValueBoxPair
java.lang.Object
soot.toolkits.scalar.UnitValueBoxPair
public class UnitValueBoxPair
- extends Object
Utility class used to package a Unit and a ValueBox together.
unit
public Unit unit
valueBox
public ValueBox valueBox
UnitValueBoxPair
public UnitValueBoxPair(Unit unit,
ValueBox valueBox)
- Constructs a UnitValueBoxPair form a Unit object and a ValueBox object.
- Parameters:
local
- some Localunit
- some Unit.
equals
public boolean equals(Object other)
- Two UnitValueBoxPairs are equal iff they the Unit they hold are 'equal' and
the ValueBoxes they hold are 'equal'.
- Overrides:
equals
in class Object
- Parameters:
other
- another UnitValueBoxPair
- Returns:
- true if equal.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getUnit
public Unit getUnit()
getValueBox
public ValueBox getValueBox()