| 构造器和说明 |
|---|
SynchronizedSegmentMap() |
SynchronizedSegmentMap(int buckets) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
<E extends Throwable> |
execute(K key,
Throwables.ThrowingConsumer<Map<K,V>,E> action) |
<E extends Throwable> |
execute(Throwables.ThrowingConsumer<Map<K,V>,E> action) |
void |
forEach(BiConsumer<? super K,? super V> action) |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
<R,E extends Throwable> |
process(K key,
Throwables.ThrowingFunction<Map<K,V>,R,E> action) |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic SynchronizedSegmentMap()
public SynchronizedSegmentMap(int buckets)
public final <R,E extends Throwable> R process(K key, Throwables.ThrowingFunction<Map<K,V>,R,E> action) throws E extends Throwable
E extends Throwablepublic final <E extends Throwable> void execute(K key, Throwables.ThrowingConsumer<Map<K,V>,E> action) throws E extends Throwable
E extends Throwablepublic final <E extends Throwable> void execute(Throwables.ThrowingConsumer<Map<K,V>,E> action) throws E extends Throwable
E extends Throwablepublic boolean containsKey(Object key)
containsKey 在接口中 Map<K,V>public boolean containsValue(Object value)
containsValue 在接口中 Map<K,V>Copyright © 2025. All rights reserved.