java.lang.Object
gg.xp.xivapi.collections.MapSerializationProxy<K,V>
- Type Parameters:
K-V-
- All Implemented Interfaces:
Serializable,Map<K,V>
Proxy for a map that allows us to plug in a serde for the keys.
The values must already be serializable.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMapSerializationProxy(Map<K, V> underlying, KeySerDe<K, ? extends Serializable> serDe) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleaninthashCode()booleanisEmpty()keySet()voidintsize()toString()@NotNull Collection<V> values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MapSerializationProxy
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
toString
-