Package com.microsoft.kiota
Class CaseInsensitiveMap
java.lang.Object
com.microsoft.kiota.CaseInsensitiveMap
- Direct Known Subclasses:
Headers
A map that is case-insensitive on the keys
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()protected StringnormalizeKey(String key) Formats the string to lower casevoidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
CaseInsensitiveMap
public CaseInsensitiveMap()Default constructor
-
-
Method Details
-
normalizeKey
Formats the string to lower case- Parameters:
key- string to normalize to lower case- Returns:
- The normalized string
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Set<String>>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Set<String>>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-