public class MultiKeyMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Serializable
| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) static class |
MultiKeyMap.CombinedEntry<K,V>
CombinedEntry
|
(专用程序包) static class |
MultiKeyMap.ViewSet<T>
ViewSet
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 限定符和类型 | 字段和说明 |
|---|---|
private List<K> |
keys |
private static long |
serialVersionUID |
private Map<Integer,V> |
values |
| 限定符 | 构造器和说明 |
|---|---|
|
MultiKeyMap() |
protected |
MultiKeyMap(List<K> keys,
Map<Integer,V> values) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
static void |
main(String[] args) |
V |
put(K key,
V value) |
V |
remove(Object key) |
void |
removeAll(Object key) |
int |
size() |
static <K,V> Map<K,V> |
synchronizedMap() |
Collection<V> |
values() |
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putAll, putIfAbsent, remove, replace, replace, replaceAllprivate static final long serialVersionUID
public boolean containsValue(Object value)
containsValue 在接口中 Map<K,V>containsValue 在类中 AbstractMap<K,V>public boolean containsKey(Object key)
containsKey 在接口中 Map<K,V>containsKey 在类中 AbstractMap<K,V>public void removeAll(Object key)
public Collection<V> values()
public static <K,V> Map<K,V> synchronizedMap()
public static void main(String[] args)
Copyright © 2020. All rights reserved.