soot.toolkits.scalar
Class LocalUnitPair

java.lang.Object
  extended by 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.
 
Method Summary
 boolean equals(Object other)
          Two LocalUnitPairs are equal iff they hold the same Unit objects and the same Local objects within them.
 Local getLocal()
           
 Unit getUnit()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalUnitPair

public LocalUnitPair(Local local,
                     Unit unit)
Constructs a LocalUnitPair from a Unit object and a Local object.

Parameters:
local - some Local
unit - some Unit.
Method Detail

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()