com.servingxml.util
Class ChildDictionary<K,V>

java.lang.Object
  extended by com.servingxml.util.ChildDictionary<K,V>
All Implemented Interfaces:
Dictionary<K,V>, MutableDictionary<K,V>

public class ChildDictionary<K,V>
extends java.lang.Object
implements MutableDictionary<K,V>

01/05/15


Constructor Summary
ChildDictionary(Dictionary<K,V> parent)
           
 
Method Summary
 void add(K key, V value)
           
 MutableDictionary<K,V> createChildDictionary()
           
 V get(K key)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildDictionary

public ChildDictionary(Dictionary<K,V> parent)
Method Detail

get

public V get(K key)
Specified by:
get in interface Dictionary<K,V>

add

public void add(K key,
                V value)
Specified by:
add in interface MutableDictionary<K,V>

size

public int size()
Specified by:
size in interface Dictionary<K,V>

createChildDictionary

public MutableDictionary<K,V> createChildDictionary()
Specified by:
createChildDictionary in interface Dictionary<K,V>