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

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

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

A Dictionary wrapper.

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

Constructor Summary
ReadOnlyPropertiesDictionary(Dictionary<K,V> delegate, K... unmodifiableKeys)
           
 
Method Summary
 V put(K key, V value)
           
 V remove(Object key)
           
 
Methods inherited from class org.ops4j.pax.coin.service.internal.target.DictionaryWrapper
elements, equals, get, hashCode, isEmpty, keys, size, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadOnlyPropertiesDictionary

public ReadOnlyPropertiesDictionary(Dictionary<K,V> delegate,
                                    K... unmodifiableKeys)
Method Detail

put

public V put(K key,
             V value)
Overrides:
put in class DictionaryWrapper<K,V>

remove

public V remove(Object key)
Overrides:
remove in class DictionaryWrapper<K,V>


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