public class MultiDequeMap<K,V> extends AbstractMap<K,Deque<V>> implements Map<K,Deque<V>>, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 限定符和类型 | 字段和说明 |
|---|---|
private Map<K,Deque<V>> |
delegate |
private static long |
serialVersionUID |
private java.util.function.Supplier<Deque<V>> |
supplier |
| 构造器和说明 |
|---|
MultiDequeMap() |
MultiDequeMap(Map<K,Deque<V>> delegate,
java.util.function.Supplier<Deque<V>> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAll(K key,
Collection<V> values) |
V |
addFirst(K key,
V value) |
V |
addLast(K key,
V value) |
void |
clear() |
void |
clear(K key) |
boolean |
containsKey(Object key) |
boolean |
containsValue(K key,
V value) |
Set<Map.Entry<K,Deque<V>>> |
entrySet() |
Deque<V> |
get(Object key) |
Set<K> |
keySet() |
V |
peekFirst(K key) |
V |
peekLast(K key) |
V |
pollFirst(K key) |
V |
pollLast(K key) |
Deque<V> |
put(K key,
Deque<V> value) |
Deque<V> |
remove(Object key) |
void |
removeValue(K key,
V value) |
int |
size() |
Map<K,V> |
toSingleValueMap() |
String |
toString() |
clone, containsValue, equals, hashCode, isEmpty, putAll, valuescompute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, valuesprivate static final long serialVersionUID
private final java.util.function.Supplier<Deque<V>> supplier
public void clear(K key)
public boolean containsKey(Object key)
containsKey 在接口中 Map<K,Deque<V>>containsKey 在类中 AbstractMap<K,Deque<V>>public void addAll(K key, Collection<V> values)
Copyright © 2020. All rights reserved.