ariba.ui.meta.core
Class NestedMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by ariba.ui.meta.core.NestedMap<K,V>
All Implemented Interfaces:
Map<K,V>

public class NestedMap<K,V>
extends AbstractMap<K,V>

A map that masks on top of an (immutable) parent map


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
NestedMap(Map<K,V> parentMap)
           
 
Method Summary
 boolean containsKey(Object value)
           
 Map dup()
           
 Set<Map.Entry<K,V>> entrySet()
           
 V get(Object key)
           
 V put(K key, V value)
           
 V remove(Object key)
           
 NestedMap reparentedMap(Map newParent)
           
 int size()
           
 
Methods inherited from class java.util.AbstractMap
clear, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedMap

public NestedMap(Map<K,V> parentMap)
Method Detail

reparentedMap

public NestedMap reparentedMap(Map newParent)

entrySet

public Set<Map.Entry<K,V>> entrySet()
Specified by:
entrySet in interface Map<K,V>
Specified by:
entrySet in class AbstractMap<K,V>

size

public int size()
Specified by:
size in interface Map<K,V>
Overrides:
size in class AbstractMap<K,V>

get

public V get(Object key)
Specified by:
get in interface Map<K,V>
Overrides:
get in class AbstractMap<K,V>

put

public V put(K key,
             V value)
Specified by:
put in interface Map<K,V>
Overrides:
put in class AbstractMap<K,V>

remove

public V remove(Object key)
Specified by:
remove in interface Map<K,V>
Overrides:
remove in class AbstractMap<K,V>

containsKey

public boolean containsKey(Object value)
Specified by:
containsKey in interface Map<K,V>
Overrides:
containsKey in class AbstractMap<K,V>

dup

public Map dup()


AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.