Class FrameworkUtil.CaseInsensitiveMap
- Enclosing class:
FrameworkUtil
private static final class FrameworkUtil.CaseInsensitiveMap
extends AbstractMap<String,Object>
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.
- Since:
- 1.3
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCaseInsensitiveMap(Dictionary<String, ?> dictionary) Create a case insensitive map from the specified dictionary. -
Method Summary
Methods inherited from class AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from interface Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
dictionary
-
keys
-
-
Constructor Details
-
CaseInsensitiveMap
CaseInsensitiveMap(Dictionary<String, ?> dictionary) Create a case insensitive map from the specified dictionary.- Parameters:
dictionary-- Throws:
IllegalArgumentException- Ifdictionarycontains case variants of the same key name.
-
-
Method Details
-
get
-
entrySet
-