public class Pair<A,B>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Compares two pairs.
|
int |
hashCode()
Hashes a pair.
|
java.lang.String |
toString()
Gets string representation of an pair.
|
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object