protected static class CustomMap.DefaultMapKey<K> extends Object implements MapKeyProxy<K>
| Modifier and Type | Field and Description |
|---|---|
protected K |
originalKey |
| Constructor and Description |
|---|
DefaultMapKey(K originalKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object proxyValue)
Make equals
|
K |
getOriginal()
Get original key
|
int |
hashCode()
Calculate hash code
|
String |
toString() |
public int hashCode()
MapKeyProxyhashCode in interface MapKeyProxy<K>hashCode in class Objectpublic boolean equals(@Nullable Object proxyValue)
MapKeyProxyequals in interface MapKeyProxy<K>equals in class Objectpublic K getOriginal()
getOriginal in interface MapKeyProxy<K>Copyright 2019-2022, Pavel Ponec