Package org.osgi.framework
Class FrameworkUtil.DictionaryAsMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.osgi.framework.FrameworkUtil.DictionaryAsMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
- Enclosing class:
- FrameworkUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) final class
(package private) final class
(package private) final class
(package private) final class
(package private) final class
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, putAll, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
dict
-
-
Constructor Details
-
DictionaryAsMap
DictionaryAsMap(Dictionary<? extends K, ? extends V> dict)
-
-
Method Details
-
keys
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Overrides:
containsKey
in classAbstractMap<K,
V>
-
get
-
put
-
remove
-
clear
public void clear() -
keySet
-
entrySet
-
toString
- Overrides:
toString
in classAbstractMap<K,
V>
-