K - Key typeV - Value typepublic class CompositeMap<K,V> extends Object implements Map<K,V>
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.collect.ImmutableList<Map<K,V>> |
maps |
| Constructor and Description |
|---|
CompositeMap(com.google.common.collect.ImmutableList<Map<K,V>> maps) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
private Map<K,V> |
combinedMap() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
private static <E> com.google.common.collect.ImmutableList<E> |
list(E e,
E[] es) |
static <K,V> CompositeMap<K,V> |
of(Map<K,V> map0,
Map<K,V>... maps)
Creates a CompositeMap.
|
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, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static <K,V> CompositeMap<K,V> of(Map<K,V> map0, Map<K,V>... maps)
private static <E> com.google.common.collect.ImmutableList<E> list(E e,
E[] es)
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.