Modul speiger.src.collections
Schnittstelle Object2ObjectConcurrentMap<T,V>
- Typparameter:
T- the keyType of elements maintained by this CollectionV- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
ConcurrentMap<T,,V> Function<T,,V> Map<T,,V> Object2ObjectMap<T,,V> UnaryOperator<T,V>
- Alle bekannten Implementierungsklassen:
Object2ObjectConcurrentOpenHashMap
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.objects.maps.interfaces.Object2ObjectMap
Object2ObjectMap.BuilderCache<T,V>, Object2ObjectMap.Entry<T, V>, Object2ObjectMap.FastEntrySet<T, V>, Object2ObjectMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault Vdefault VcomputeIfAbsent(T key, Function<? super T, ? extends V> mappingFunction) default VcomputeIfPresent(T key, BiFunction<? super T, ? super V, ? extends V> mappingFunction) default voidforEach(BiConsumer<? super T, ? super V> action) getOrDefault(Object key, V defaultValue) default VputIfAbsent(T key, V value) Type Specific method to reduce boxing/unboxing of valuesbooleanA Type Specific replace method to reduce boxing/unboxing replace an existing valuebooleanA Type Specific replace method to replace an existing valuedefault voidreplaceAll(BiFunction<? super T, ? super V, ? extends V> mappingFunction) Veraltet.Von Schnittstelle geerbte Methoden java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, putAll, sizeVon Schnittstelle geerbte Methoden speiger.src.collections.objects.maps.interfaces.Object2ObjectMap
apply, compute, computeIfAbsent, computeIfPresent, copy, entrySet, forEach, getDefaultReturnValue, getObject, keySet, merge, mergeAll, object2ObjectEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, rem, remOrDefault, remove, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, synchronize, synchronize, unmodifiable, valuesVon Schnittstelle geerbte Methoden speiger.src.collections.objects.functions.function.UnaryOperator
andThen, compose
-
Methodendetails
-
compute
-
computeIfAbsent
- Angegeben von:
computeIfAbsentin SchnittstelleConcurrentMap<T,V> - Angegeben von:
computeIfAbsentin SchnittstelleMap<T,V> - Angegeben von:
computeIfAbsentin SchnittstelleObject2ObjectMap<T,V>
-
computeIfPresent
- Angegeben von:
computeIfPresentin SchnittstelleConcurrentMap<T,V> - Angegeben von:
computeIfPresentin SchnittstelleMap<T,V> - Angegeben von:
computeIfPresentin SchnittstelleObject2ObjectMap<T,V>
-
forEach
-
merge
-
getOrDefault
- Angegeben von:
getOrDefaultin SchnittstelleConcurrentMap<T,V> - Angegeben von:
getOrDefaultin SchnittstelleMap<T,V>
-
putIfAbsent
Beschreibung aus Schnittstelle kopiert:Object2ObjectMapType Specific method to reduce boxing/unboxing of values- Angegeben von:
putIfAbsentin SchnittstelleConcurrentMap<T,V> - Angegeben von:
putIfAbsentin SchnittstelleMap<T,V> - Angegeben von:
putIfAbsentin SchnittstelleObject2ObjectMap<T,V> - Parameter:
key- the key that should be inserted,value- the value that should be inserted- Gibt zurück:
- the last present value or default return value.
- Siehe auch:
-
remove
-
replace
Beschreibung aus Schnittstelle kopiert:Object2ObjectMapA Type Specific replace method to replace an existing value- Angegeben von:
replacein SchnittstelleConcurrentMap<T,V> - Angegeben von:
replacein SchnittstelleMap<T,V> - Angegeben von:
replacein SchnittstelleObject2ObjectMap<T,V> - Parameter:
key- the element that should be searched foroldValue- the expected value to be replacednewValue- the value to replace the oldValue with.- Gibt zurück:
- true if the value got replaced
-
replace
Beschreibung aus Schnittstelle kopiert:Object2ObjectMapA Type Specific replace method to reduce boxing/unboxing replace an existing value- Angegeben von:
replacein SchnittstelleConcurrentMap<T,V> - Angegeben von:
replacein SchnittstelleMap<T,V> - Angegeben von:
replacein SchnittstelleObject2ObjectMap<T,V> - Parameter:
key- the element that should be searched forvalue- the value to replace with.- Gibt zurück:
- the present value or default return value
-
replaceAll
Veraltet.- Angegeben von:
replaceAllin SchnittstelleConcurrentMap<T,V> - Angegeben von:
replaceAllin SchnittstelleMap<T,V> - Angegeben von:
replaceAllin SchnittstelleObject2ObjectMap<T,V>
-