T - public class MutablePair<T>
extends java.lang.Object
Pair| Constructor and Description |
|---|
MutablePair() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Checks the two objects for equality by delegating to their respective
Object.equals(Object) methods. |
int |
hashCode()
Compute a hash code using the hash codes of the underlying objects
|
void |
set(T first,
T second) |
java.lang.String |
toString() |
public boolean equals(java.lang.Object o)
Object.equals(Object) methods.equals in class java.lang.Objecto - the Pair to which this one is to be checked for equalitypublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object