soot.toolkits.scalar
Class IdentityPair<T,U>

java.lang.Object
  extended by soot.toolkits.scalar.IdentityPair<T,U>

public class IdentityPair<T,U>
extends Object

Just a pair of arbitrary objects.

Author:
Ondrej Lhotak, Manu Sridharan (genericized it)

Field Summary
protected  int hashCode
           
protected  T o1
           
protected  U o2
           
 
Constructor Summary
IdentityPair(T o1, U o2)
           
 
Method Summary
 boolean equals(Object obj)
          
 T getO1()
           
 U getO2()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

o1

protected final T o1

o2

protected final U o2

hashCode

protected final int hashCode
Constructor Detail

IdentityPair

public IdentityPair(T o1,
                    U o2)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

getO1

public T getO1()

getO2

public U getO2()

toString

public String toString()
Overrides:
toString in class Object