Package aQute.bnd.osgi.resource
Class FilterImpl.CaseInsensitiveMap
java.lang.Object
java.util.AbstractMap<String,Object>
aQute.bnd.osgi.resource.FilterImpl.DictionaryMap
aQute.bnd.osgi.resource.FilterImpl.CaseInsensitiveMap
- Enclosing class:
- FilterImpl
private static final class FilterImpl.CaseInsensitiveMap
extends FilterImpl.DictionaryMap
implements Map<String,Object>
This Map is used for case-insensitive key lookup during filter
evaluation. This Map implementation only supports the get operation using
a String key as no other operations are used by the Filter
implementation.
-
Nested Class Summary
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
ConstructorsConstructorDescriptionCaseInsensitiveMap
(Dictionary<String, ?> dictionary) Create a case insensitive map from the specified dictionary. -
Method Summary
Methods inherited from class aQute.bnd.osgi.resource.FilterImpl.DictionaryMap
asMap, entrySet
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
keys
-
-
Constructor Details
-
CaseInsensitiveMap
CaseInsensitiveMap(Dictionary<String, ?> dictionary) Create a case insensitive map from the specified dictionary.- Parameters:
dictionary
-- Throws:
IllegalArgumentException
- Ifdictionary
contains case variants of the same key name.
-
-
Method Details