public class Pair<F,S>
extends java.lang.Object
implements java.io.Serializable
The inexplicably missing class from the java.util
package. A generic, immutable Pair
class. Hash code computed at construction time and cached.
public F getFirst()
public S getSecond()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object