T - The class of the values referenced in the map.public class OptimizedCaseInsensitiveMapWrapper<T>
extends org.mule.runtime.api.util.CaseInsensitiveMapWrapper<T>
CaseInsensitiveMapWrapper where all map keys will be stored internally as lowercase. This means that
when calling keySet() or other method that return the keys, they will be lowercase independently of the case they had
when they were put into the map.org.mule.runtime.api.util.CaseInsensitiveMapWrapper.AbstractConverterSet<A,B>, org.mule.runtime.api.util.CaseInsensitiveMapWrapper.CaseInsensitiveMapKeyAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OptimizedCaseInsensitiveMapWrapper()
Creates a new instance using a
HashMap as backing map. |
OptimizedCaseInsensitiveMapWrapper(Map map)
Creates a new instance using an existing map as backing map.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,T> |
asCaseSensitiveMap()
Returns this map as a case sensitive map.
|
Set<Map.Entry<String,T>> |
entrySet() |
Set<String> |
keySet() |
clear, containsKey, containsValue, get, isEmpty, put, putAll, remove, size, valuesclone, equals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic OptimizedCaseInsensitiveMapWrapper(Map map)
map - existing mappublic OptimizedCaseInsensitiveMapWrapper()
HashMap as backing map.Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.