K - Key typeV - Value typepublic class CompositeMap<K,V> extends Object implements Map<K,V>
| Constructor and Description |
|---|
CompositeMap(com.google.common.collect.ImmutableList<Map<K,V>> maps) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(@Nullable Object key) |
boolean |
containsValue(@Nullable Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(@Nullable Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
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(@Nullable 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, replaceAll@SafeVarargs public static <K,V> CompositeMap<K,V> of(Map<K,V> map0, Map<K,V>... maps)
public boolean containsKey(@Nullable Object key)
containsKey in interface Map<K,V>public boolean containsValue(@Nullable Object value)
containsValue in interface Map<K,V>Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.