Class MapToDictionary
java.lang.Object
java.util.Dictionary
org.apache.felix.utils.collections.MapToDictionary
This is a simple class that implements a Dictionary
from a Map. The resulting dictionary is immutatable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
map
Map source.
-
-
Constructor Details
-
MapToDictionary
-
-
Method Details
-
setSourceMap
-
elements
- Specified by:
elements
in classDictionary
-
get
- Specified by:
get
in classDictionary
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classDictionary
-
keys
- Specified by:
keys
in classDictionary
-
put
- Specified by:
put
in classDictionary
-
remove
- Specified by:
remove
in classDictionary
-
size
public int size()- Specified by:
size
in classDictionary
-