V - the keyType of elements maintained by this Collectionpublic interface Long2ObjectConcurrentMap<V> extends java.util.concurrent.ConcurrentMap<java.lang.Long,V>, Long2ObjectMap<V>
Long2ObjectMap.BuilderCache<V>, Long2ObjectMap.Entry<V>, Long2ObjectMap.FastEntrySet<V>, Long2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
default V |
compute(java.lang.Long key,
java.util.function.BiFunction<? super java.lang.Long,? super V,? extends V> mappingFunction)
Deprecated.
|
default V |
computeIfAbsent(java.lang.Long key,
java.util.function.Function<? super java.lang.Long,? extends V> mappingFunction)
Deprecated.
|
default V |
computeIfPresent(java.lang.Long key,
java.util.function.BiFunction<? super java.lang.Long,? super V,? extends V> mappingFunction)
Deprecated.
|
default void |
forEach(java.util.function.BiConsumer<? super java.lang.Long,? super V> action)
Deprecated.
|
default V |
getOrDefault(java.lang.Object key,
V defaultValue)
Deprecated.
|
default V |
merge(java.lang.Long key,
V value,
java.util.function.BiFunction<? super V,? super V,? extends V> mappingFunction)
Deprecated.
|
default V |
putIfAbsent(java.lang.Long key,
V value)
Deprecated.
|
default boolean |
remove(java.lang.Object key,
java.lang.Object value)
Deprecated.
|
default V |
replace(java.lang.Long key,
V value)
Deprecated.
|
default boolean |
replace(java.lang.Long key,
V oldValue,
V newValue)
Deprecated.
|
default void |
replaceAll(java.util.function.BiFunction<? super java.lang.Long,? super V,? extends V> mappingFunction)
Deprecated.
|
apply, builder, compute, computeIfAbsent, computeIfPresent, containsKey, containsKey, copy, entrySet, forEach, get, get, getDefaultReturnValue, getOrDefault, keySet, long2ObjectEntrySet, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, remove, remove, remove, removeOrDefault, replace, replace, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, synchronize, synchronize, unmodifiable, values@Deprecated default V compute(java.lang.Long key, java.util.function.BiFunction<? super java.lang.Long,? super V,? extends V> mappingFunction)
compute in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>compute in interface Long2ObjectMap<V>compute in interface java.util.Map<java.lang.Long,V>@Deprecated default V computeIfAbsent(java.lang.Long key, java.util.function.Function<? super java.lang.Long,? extends V> mappingFunction)
computeIfAbsent in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>computeIfAbsent in interface Long2ObjectMap<V>computeIfAbsent in interface java.util.Map<java.lang.Long,V>@Deprecated default V computeIfPresent(java.lang.Long key, java.util.function.BiFunction<? super java.lang.Long,? super V,? extends V> mappingFunction)
computeIfPresent in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>computeIfPresent in interface Long2ObjectMap<V>computeIfPresent in interface java.util.Map<java.lang.Long,V>@Deprecated default void forEach(java.util.function.BiConsumer<? super java.lang.Long,? super V> action)
forEach in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>forEach in interface Long2ObjectMap<V>forEach in interface java.util.Map<java.lang.Long,V>@Deprecated default V merge(java.lang.Long key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> mappingFunction)
merge in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>merge in interface Long2ObjectMap<V>merge in interface java.util.Map<java.lang.Long,V>@Deprecated default V getOrDefault(java.lang.Object key, V defaultValue)
getOrDefault in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>getOrDefault in interface Long2ObjectMap<V>getOrDefault in interface java.util.Map<java.lang.Long,V>@Deprecated default V putIfAbsent(java.lang.Long key, V value)
putIfAbsent in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>putIfAbsent in interface Long2ObjectMap<V>putIfAbsent in interface java.util.Map<java.lang.Long,V>@Deprecated
default boolean remove(java.lang.Object key,
java.lang.Object value)
remove in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>remove in interface Long2ObjectMap<V>remove in interface java.util.Map<java.lang.Long,V>key - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)@Deprecated
default boolean replace(java.lang.Long key,
V oldValue,
V newValue)
replace in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>replace in interface Long2ObjectMap<V>replace in interface java.util.Map<java.lang.Long,V>@Deprecated default V replace(java.lang.Long key, V value)
replace in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>replace in interface Long2ObjectMap<V>replace in interface java.util.Map<java.lang.Long,V>@Deprecated default void replaceAll(java.util.function.BiFunction<? super java.lang.Long,? super V,? extends V> mappingFunction)
replaceAll in interface java.util.concurrent.ConcurrentMap<java.lang.Long,V>replaceAll in interface Long2ObjectMap<V>replaceAll in interface java.util.Map<java.lang.Long,V>