java.lang.Object
com.github.darksoulq.abyssallib.server.util.regional.RegionalBiHashMap<K,V>
- All Implemented Interfaces:
Map<K,V>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()computeIfAbsent(K key, @NotNull Function<? super K, ? extends V> mappingFunction) computeIfPresent(K key, @NotNull BiFunction<? super K, ? super V, ? extends V> remappingFunction) booleancontainsKey(@Nullable Object key) booleancontainsValue(@Nullable Object value) entrySet()voidforEach(@NotNull BiConsumer<? super K, ? super V> action) getOrDefault(@Nullable Object key, V defaultValue) @NotNull RegionalBiHashMap<V, K> inverse()booleanisEmpty()keySet()voidputIfAbsent(K key, V value) booleanbooleanvoidreplaceAll(@NotNull BiFunction<? super K, ? super V, ? extends V> function) intsize()values()
-
Constructor Details
-
RegionalBiHashMap
public RegionalBiHashMap() -
RegionalBiHashMap
public RegionalBiHashMap(boolean forceConcurrent)
-
-
Method Details
-
inverse
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
-
containsValue
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getOrDefault
-
forEach
-
replaceAll
-
putIfAbsent
-
remove
-
replace
-
replace
-
computeIfAbsent
-
computeIfPresent
-
compute
-
merge
-