soot.jimple.spark.ondemand.genericutil
Class MutablePair<T,U>

java.lang.Object
  extended by soot.jimple.spark.ondemand.genericutil.MutablePair<T,U>

public class MutablePair<T,U>
extends Object

A mutable pair of objects.

Author:
manu

Constructor Summary
MutablePair(T o1, U o2)
           
 
Method Summary
 boolean equals(Object other)
           
 T getO1()
           
 U getO2()
           
 int hashCode()
           
 void setO1(T o1)
           
 void setO2(U o2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutablePair

public MutablePair(T o1,
                   U o2)
Method Detail

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

setO1

public void setO1(T o1)

setO2

public void setO2(U o2)