public final class Pair<T>
extends java.lang.Object
Note that they do not protect from malevolent behavior: if one or another object in the tuple is mutable, then that can be changed with the usual bad effects.
public T getFirst()
public T getSecond()
public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()