Package 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), xiao, extend it with more functions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)TgetO1()UgetO2()inthashCode()booleanisParameter()Decide if this pair represents a method parameter.booleanisThisParameter()Decide if this pair stores the THIS parameter for a method.voidsetO1(T no1)voidsetO2(U no2)voidsetPair(T no1, U no2)StringtoString()
-
-
-
Method Detail
-
isParameter
public boolean isParameter()
Decide if this pair represents a method parameter.
-
isThisParameter
public boolean isThisParameter()
Decide if this pair stores the THIS parameter for a method.
-
getO1
public T getO1()
-
getO2
public U getO2()
-
setO1
public void setO1(T no1)
-
setO2
public void setO2(U no2)
-
-