org.ops4j.pax.coin.service.internal.target
Class DictionaryWrapper<K,V>

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by org.ops4j.pax.coin.service.internal.target.DictionaryWrapper<K,V>
Direct Known Subclasses:
ReadOnlyDictionary, ReadOnlyPropertiesDictionary

public class DictionaryWrapper<K,V>
extends Dictionary<K,V>

A Dictionary wrapper.

Since:
0.3.0, March 10, 2008
Author:
Alin Dreghiciu

Constructor Summary
DictionaryWrapper(Dictionary<K,V> delegate)
           
 
Method Summary
 Enumeration<V> elements()
           
 boolean equals(Object o)
           
 V get(Object o)
           
 int hashCode()
           
 boolean isEmpty()
           
 Enumeration<K> keys()
           
 V put(K k, V v)
           
 V remove(Object o)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DictionaryWrapper

public DictionaryWrapper(Dictionary<K,V> delegate)
Method Detail

elements

public Enumeration<V> elements()
Specified by:
elements in class Dictionary<K,V>

get

public V get(Object o)
Specified by:
get in class Dictionary<K,V>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class Dictionary<K,V>

keys

public Enumeration<K> keys()
Specified by:
keys in class Dictionary<K,V>

put

public V put(K k,
             V v)
Specified by:
put in class Dictionary<K,V>

remove

public V remove(Object o)
Specified by:
remove in class Dictionary<K,V>

size

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

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.