public class CaseInsensitiveKeysMapAccess extends Object
If there is a conflicting key, any one of the keys and any one of the values is used. Because of the nature of Hashmaps, the result is not deterministic.
| Constructor and Description |
|---|
CaseInsensitiveKeysMapAccess() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
convert(Map<String,String> map)
Wrapper around the map that allows accessing the map with case-insensitive keys.
|
public static Map<String,String> convert(Map<String,String> map)
Return an unmodifiable map to make it clear that changes are not reflected to the original map.
map - the map to convertCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.