public class CompositeMap<K,V> extends Object implements Map<K,V>
| Constructor and Description |
|---|
CompositeMap(Map<K,V> wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map m) |
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic CompositeMap(Map<K,V> wrapped)
public boolean containsKey(Object key)
containsKey in interface Map<K,V>Map.containsKey(java.lang.Object)public boolean containsValue(Object value)
containsValue in interface Map<K,V>Map.containsValue(java.lang.Object)public V get(Object key)
get in interface Map<K,V>Map.get(java.lang.Object)public Set entrySet()
entrySet in interface Map<K,V>Map.entrySet()public Collection values()
values in interface Map<K,V>Map.values()public boolean isEmpty()
isEmpty in interface Map<K,V>Map.isEmpty()public V put(K key, V value)
put in interface Map<K,V>Map.put(java.lang.Object, java.lang.Object)public void putAll(Map m)
putAll in interface Map<K,V>Map.putAll(java.util.Map)public V remove(Object key)
remove in interface Map<K,V>Map.remove(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2001–2018 MDA Tools. All rights reserved.