Type1 - the type of the first element of the pairType2 - the type of the second element of the pairpublic final class Pair<Type1,Type2>
extends java.lang.Object
public Type1 getFirst()
public Type2 getSecond()
public void setFirst(Type1 f)
f - the new first elementpublic void setSecond(Type2 s)
s - the new second elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object oth)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object