public class NestedMap<K,V>
extends java.util.AbstractMap<K,V>
Modifier and Type | Class and Description |
---|---|
class |
NestedMap.KeySet |
Constructor and Description |
---|
NestedMap(java.util.Map<K,V> containing)
Creates a new nested map, which defers to
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
java.util.Map<K,V> |
getContainingMap()
Returns the map to which this map defers, or null for none.
|
java.util.Map<K,V> |
getInnerMap()
Returns the map containing the elements for this level of nesting.
|
V |
put(K key,
V value) |
void |
release(java.lang.Object key)
Removes any binding in this for
|
V |
remove(java.lang.Object key) |
int |
size() |
public java.util.Map<K,V> getContainingMap()
public void release(java.lang.Object key)
public java.util.Map<K,V> getInnerMap()
public int size()
public boolean containsKey(java.lang.Object key)
public V get(java.lang.Object key)
public V remove(java.lang.Object key)