org.apache.felix.utils.collections
Class DictionaryAsMap<U,V>
java.lang.Object
java.util.AbstractMap<U,V>
org.apache.felix.utils.collections.DictionaryAsMap<U,V>
- All Implemented Interfaces:
- Map<U,V>
public class DictionaryAsMap<U,V>
- extends AbstractMap<U,V>
A wrapper around a dictionary access it as a Map
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values |
DictionaryAsMap
public DictionaryAsMap(Dictionary<U,V> dict)
entrySet
public Set<Map.Entry<U,V>> entrySet()
- Specified by:
entrySet
in interface Map<U,V>
- Specified by:
entrySet
in class AbstractMap<U,V>
put
public V put(U key,
V value)
- Specified by:
put
in interface Map<U,V>
- Overrides:
put
in class AbstractMap<U,V>
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.