K - the key typepublic class ReferenceEqualityKey<K>
extends java.lang.Object
| Constructor and Description |
|---|
ReferenceEqualityKey(K wrappedKey)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Equals.
|
K |
get()
Get the wrapped key.
|
int |
hashCode()
Hash code.
|
java.lang.String |
toString()
To string.
|
public ReferenceEqualityKey(K wrappedKey)
wrappedKey - the wrapped keypublic K get()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the objpublic java.lang.String toString()
toString in class java.lang.Object