util
Class Pair<T1,T2>

java.lang.Object
  extended by util.Pair<T1,T2>

public class Pair<T1,T2>
extends java.lang.Object

Use the Pair class to group two values together.

Author:
sikoried

Field Summary
 T1 a
           
 T2 b
           
 
Constructor Summary
Pair(T1 a, T2 b)
           
 
Method Summary
 boolean equals(java.lang.Object p)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public T1 a

b

public T2 b
Constructor Detail

Pair

public Pair(T1 a,
            T2 b)
Method Detail

equals

public boolean equals(java.lang.Object p)
Overrides:
equals in class java.lang.Object