Modul speiger.src.collections
Schnittstelle Long2ObjectConcurrentMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
ConcurrentMap<Long,,V> Long2ObjectMap<V>,LongFunction<V>,LongFunction<V>,Map<Long,V>
- Alle bekannten Implementierungsklassen:
Long2ObjectConcurrentOpenHashMap
A type specific ConcurrentMap interface that reduces boxing/unboxing.
Since the interface adds nothing new. It is there just for completion sake.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.interfaces.Long2ObjectMap
Long2ObjectMap.BuilderCache<V>, Long2ObjectMap.Entry<V>, Long2ObjectMap.FastEntrySet<V>, Long2ObjectMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault VVeraltet.default VcomputeIfAbsent(Long key, Function<? super Long, ? extends V> mappingFunction) Veraltet.default VcomputeIfPresent(Long key, BiFunction<? super Long, ? super V, ? extends V> mappingFunction) Veraltet.default voidforEach(BiConsumer<? super Long, ? super V> action) Veraltet.default VgetOrDefault(Object key, V defaultValue) Veraltet.default VVeraltet.default VputIfAbsent(Long key, V value) Veraltet.default booleanVeraltet.default VVeraltet.default booleanVeraltet.default voidreplaceAll(BiFunction<? super Long, ? super V, ? extends V> mappingFunction) Veraltet.Von Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2ObjectMap
apply, 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
-
Methodendetails
-
compute
@Deprecated default V compute(Long key, BiFunction<? super Long, ? super V, ? extends V> mappingFunction) Veraltet. -
computeIfAbsent
Veraltet.- Angegeben von:
computeIfAbsentin SchnittstelleConcurrentMap<Long,V> - Angegeben von:
computeIfAbsentin SchnittstelleLong2ObjectMap<V>- Angegeben von:
computeIfAbsentin SchnittstelleMap<Long,V>
-
computeIfPresent
@Deprecated default V computeIfPresent(Long key, BiFunction<? super Long, ? super V, ? extends V> mappingFunction) Veraltet.- Angegeben von:
computeIfPresentin SchnittstelleConcurrentMap<Long,V> - Angegeben von:
computeIfPresentin SchnittstelleLong2ObjectMap<V>- Angegeben von:
computeIfPresentin SchnittstelleMap<Long,V>
-
forEach
Veraltet. -
merge
@Deprecated default V merge(Long key, V value, BiFunction<? super V, ? super V, ? extends V> mappingFunction) Veraltet. -
getOrDefault
Veraltet.- Angegeben von:
getOrDefaultin SchnittstelleConcurrentMap<Long,V> - Angegeben von:
getOrDefaultin SchnittstelleLong2ObjectMap<V>- Angegeben von:
getOrDefaultin SchnittstelleMap<Long,V>
-
putIfAbsent
Veraltet.- Angegeben von:
putIfAbsentin SchnittstelleConcurrentMap<Long,V> - Angegeben von:
putIfAbsentin SchnittstelleLong2ObjectMap<V>- Angegeben von:
putIfAbsentin SchnittstelleMap<Long,V>
-
remove
Veraltet.- Angegeben von:
removein SchnittstelleConcurrentMap<Long,V> - Angegeben von:
removein SchnittstelleLong2ObjectMap<V>- Angegeben von:
removein SchnittstelleMap<Long,V> - Parameter:
key- the element that should be removedvalue- the expected value that should be found- Gibt zurück:
- true if the key and value was found and removed
- Siehe auch:
-
replace
Veraltet. -
replace
Veraltet. -
replaceAll
Veraltet.- Angegeben von:
replaceAllin SchnittstelleConcurrentMap<Long,V> - Angegeben von:
replaceAllin SchnittstelleLong2ObjectMap<V>- Angegeben von:
replaceAllin SchnittstelleMap<Long,V>
-