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()
MapKeyProxy
hashCode
in interface MapKeyProxy<K>
hashCode
in class Object
public boolean equals(@Nullable Object proxyValue)
MapKeyProxy
equals
in interface MapKeyProxy<K>
equals
in class Object
public K getOriginal()
getOriginal
in interface MapKeyProxy<K>
Copyright 2019-2022, Pavel Ponec