public abstract class AtomicMutableMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<K,AtomicStampedReference<V>> |
delegate |
private static long |
serialVersionUID |
| 限定符 | 构造器和说明 |
|---|---|
protected |
AtomicMutableMap(Map<K,AtomicStampedReference<V>> delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
Set<K> |
keySet() |
V |
merge(K key,
V value,
java.util.function.BiFunction<? super V,? super V,? extends V> fun) |
protected K |
mutate(Object key) |
V |
put(K key,
V value) |
V |
remove(Object key) |
int |
size() |
Map<K,V> |
toMap() |
Collection<V> |
values() |
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, isEmpty, putAll, putIfAbsent, remove, replace, replace, replaceAllprivate static final long serialVersionUID
protected final Map<K,AtomicStampedReference<V>> delegate
protected AtomicMutableMap(Map<K,AtomicStampedReference<V>> delegate)
public boolean containsKey(Object key)
containsKey 在接口中 Map<K,V>containsKey 在类中 AbstractMap<K,V>public boolean containsValue(Object value)
containsValue 在接口中 Map<K,V>containsValue 在类中 AbstractMap<K,V>public Collection<V> values()
public V merge(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> fun)
Copyright © 2022. All rights reserved.