Package org.apache.felix.utils.filter
Class FilterImpl.CaseInsensitiveDictionary
java.lang.Object
java.util.Dictionary
org.apache.felix.utils.filter.FilterImpl.CaseInsensitiveDictionary
- Enclosing class:
- FilterImpl
This Dictionary is used for case-insensitive key lookup during filter
evaluation. This Dictionary implementation only supports the get
operation using a String key as no other operations are used by the
Filter implementation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCaseInsensitiveDictionary(Dictionary dictionary) Create a case insensitive dictionary from the specified dictionary. -
Method Summary
-
Field Details
-
dictionary
-
keys
-
-
Constructor Details
-
CaseInsensitiveDictionary
CaseInsensitiveDictionary(Dictionary dictionary) Create a case insensitive dictionary from the specified dictionary.- Parameters:
dictionary-- Throws:
IllegalArgumentException- Ifdictionarycontains case variants of the same key name.
-
-
Method Details
-
get
- Specified by:
getin classDictionary
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classDictionary
-
keys
- Specified by:
keysin classDictionary
-
elements
- Specified by:
elementsin classDictionary
-
put
- Specified by:
putin classDictionary
-
remove
- Specified by:
removein classDictionary
-
size
public int size()- Specified by:
sizein classDictionary
-