Package org.apache.felix.framework.util
Class MapToDictionary<K,V>
java.lang.Object
java.util.Dictionary<K,V>
org.apache.felix.framework.util.MapToDictionary<K,V>
This is a simple class that implements a Dictionary
from a Map. The resulting dictionary is immutable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_map
Map source.
-
-
Constructor Details
-
MapToDictionary
-
-
Method Details
-
elements
- Specified by:
elementsin classDictionary<K,V>
-
get
- Specified by:
getin classDictionary<K,V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classDictionary<K,V>
-
keys
- Specified by:
keysin classDictionary<K,V>
-
put
- Specified by:
putin classDictionary<K,V>
-
remove
- Specified by:
removein classDictionary<K,V>
-
size
public int size()- Specified by:
sizein classDictionary<K,V>
-
toString
-