T - the type of elements maintained by this Collectionpublic interface Object2ShortConcurrentMap<T> extends java.util.concurrent.ConcurrentMap<T,java.lang.Short>, Object2ShortMap<T>
Object2ShortMap.BuilderCache<T>, Object2ShortMap.Entry<T>, Object2ShortMap.FastEntrySet<T>, Object2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
default java.lang.Short |
compute(T key,
java.util.function.BiFunction<? super T,? super java.lang.Short,? extends java.lang.Short> mappingFunction) |
default java.lang.Short |
computeIfAbsent(T key,
java.util.function.Function<? super T,? extends java.lang.Short> mappingFunction) |
default java.lang.Short |
computeIfPresent(T key,
java.util.function.BiFunction<? super T,? super java.lang.Short,? extends java.lang.Short> mappingFunction) |
default void |
forEach(java.util.function.BiConsumer<? super T,? super java.lang.Short> action) |
default java.lang.Short |
getOrDefault(java.lang.Object key,
java.lang.Short defaultValue) |
default java.lang.Short |
merge(T key,
java.lang.Short value,
java.util.function.BiFunction<? super java.lang.Short,? super java.lang.Short,? extends java.lang.Short> mappingFunction) |
default java.lang.Short |
putIfAbsent(T key,
java.lang.Short value) |
default boolean |
remove(java.lang.Object key,
java.lang.Object value)
Deprecated.
|
default java.lang.Short |
replace(T key,
java.lang.Short value)
Deprecated.
|
default boolean |
replace(T key,
java.lang.Short oldValue,
java.lang.Short newValue)
Deprecated.
|
default void |
replaceAll(java.util.function.BiFunction<? super T,? super java.lang.Short,? extends java.lang.Short> mappingFunction)
Deprecated.
|
addTo, addToAll, builder, computeShort, computeShortIfAbsent, computeShortIfPresent, containsValue, containsValue, copy, entrySet, forEach, get, getDefaultReturnValue, getOrDefault, getShort, keySet, mergeAllShort, mergeShort, object2ShortEntrySet, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, replace, replace, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, synchronize, synchronize, unmodifiable, valuesdefault java.lang.Short compute(T key, java.util.function.BiFunction<? super T,? super java.lang.Short,? extends java.lang.Short> mappingFunction)
compute in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>compute in interface java.util.Map<T,java.lang.Short>compute in interface Object2ShortMap<T>default java.lang.Short computeIfAbsent(T key, java.util.function.Function<? super T,? extends java.lang.Short> mappingFunction)
computeIfAbsent in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>computeIfAbsent in interface java.util.Map<T,java.lang.Short>computeIfAbsent in interface Object2ShortMap<T>default java.lang.Short computeIfPresent(T key, java.util.function.BiFunction<? super T,? super java.lang.Short,? extends java.lang.Short> mappingFunction)
computeIfPresent in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>computeIfPresent in interface java.util.Map<T,java.lang.Short>computeIfPresent in interface Object2ShortMap<T>default void forEach(java.util.function.BiConsumer<? super T,? super java.lang.Short> action)
forEach in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>forEach in interface java.util.Map<T,java.lang.Short>forEach in interface Object2ShortMap<T>default java.lang.Short merge(T key, java.lang.Short value, java.util.function.BiFunction<? super java.lang.Short,? super java.lang.Short,? extends java.lang.Short> mappingFunction)
merge in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>merge in interface java.util.Map<T,java.lang.Short>merge in interface Object2ShortMap<T>default java.lang.Short getOrDefault(java.lang.Object key,
java.lang.Short defaultValue)
getOrDefault in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>getOrDefault in interface java.util.Map<T,java.lang.Short>getOrDefault in interface Object2ShortMap<T>default java.lang.Short putIfAbsent(T key, java.lang.Short value)
putIfAbsent in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>putIfAbsent in interface java.util.Map<T,java.lang.Short>putIfAbsent in interface Object2ShortMap<T>@Deprecated
default boolean remove(java.lang.Object key,
java.lang.Object value)
remove in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>remove in interface java.util.Map<T,java.lang.Short>remove in interface Object2ShortMap<T>key - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)@Deprecated default boolean replace(T key, java.lang.Short oldValue, java.lang.Short newValue)
replace in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>replace in interface java.util.Map<T,java.lang.Short>replace in interface Object2ShortMap<T>@Deprecated default java.lang.Short replace(T key, java.lang.Short value)
replace in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>replace in interface java.util.Map<T,java.lang.Short>replace in interface Object2ShortMap<T>@Deprecated default void replaceAll(java.util.function.BiFunction<? super T,? super java.lang.Short,? extends java.lang.Short> mappingFunction)
replaceAll in interface java.util.concurrent.ConcurrentMap<T,java.lang.Short>replaceAll in interface java.util.Map<T,java.lang.Short>replaceAll in interface Object2ShortMap<T>