Class AdaptedMap<K,V,K2,V2>
java.lang.Object
com.fastasyncworldedit.core.util.collection.AdaptedMap<K,V,K2,V2>
- All Implemented Interfaces:
IAdaptedMap<K,
,V, K2, V2> Map<K,
V>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadaptValue
(V value) adaptValue2
(V2 value) entrySet()
static <K,
K2, V, V2>
AdaptedMap<K,V, K2, V2> static <K,
K2, V> AdaptedMap<K, V, K2, V> static <K,
V, V2> AdaptedMap<K, V, K, V2> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fastasyncworldedit.core.util.collection.IAdaptedMap
clear, containsKey, containsValue, get, isEmpty, keySet, put, putAll, remove, size, values
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
AdaptedMap
-
-
Method Details
-
keys
public static <K,K2, AdaptedMap<K,V> V, keysK2, V> (Map<K2, V> parent, Function<K, K2> key, Function<K2, K> key2) -
values
public static <K,V, AdaptedMap<K,V2> V, valuesK, V2> (Map<K, V2> parent, Function<V, V2> value, Function<V2, V> value2) -
immutable
public static <K,K2, AdaptedMap<K,V, V2> V, immutableK2, V2> (Map<K2, V2> parent, Function<K2, K> key, Function<V2, V> value) -
getParent
-
adaptKey
-
adaptValue
- Specified by:
adaptValue
in interfaceIAdaptedMap<K,
V, K2, V2>
-
adaptKey2
-
adaptValue2
- Specified by:
adaptValue2
in interfaceIAdaptedMap<K,
V, K2, V2>
-
entrySet
-