soot.toolkits.scalar
Class Pair<T,U>
java.lang.Object
soot.toolkits.scalar.Pair<T,U>
- Direct Known Subclasses:
- DemandCSPointsTo.CallSiteAndContext, SootUtil.CallSiteAndContext
public class Pair<T,U>
- extends Object
Just a pair of arbitrary objects.
- Author:
- Ondrej Lhotak, Manu Sridharan (genericized it)
Field Summary |
protected T |
o1
|
protected U |
o2
|
Constructor Summary |
Pair(T o1,
U o2)
|
o1
protected T o1
o2
protected U o2
Pair
public Pair(T o1,
U o2)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getO1
public T getO1()
getO2
public U getO2()