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 java.util.Dictionary<K,V>

A Dictionary wrapper.

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

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

Constructor Detail

DictionaryWrapper

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

elements

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

get

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

isEmpty

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

keys

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

put

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

remove

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

size

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.