class CaseInsensitiveStringMap extends Map[String, String]
Case-insensitive map of string keys to string values.
This is used to pass options to v2 implementations to ensure consistent case insensitivity.
Methods that return keys in this map, like #entrySet()
and #keySet()
, return
keys converted to lower case. This map doesn't allow null key.
- Annotations
- @Experimental()
- Source
- CaseInsensitiveStringMap.java
- Since
3.0.0
- Alphabetic
- By Inheritance
- CaseInsensitiveStringMap
- Map
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def asCaseSensitiveMap(): Map[String, String]
Returns the original case-sensitive map.
- def clear(): Unit
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def compute(arg0: String, arg1: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
- Definition Classes
- Map
- def computeIfAbsent(arg0: String, arg1: Function[_ >: String <: AnyRef, _ <: String]): String
- Definition Classes
- Map
- def computeIfPresent(arg0: String, arg1: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
- Definition Classes
- Map
- def containsKey(key: AnyRef): Boolean
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def containsValue(value: AnyRef): Boolean
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def entrySet(): Set[Entry[String, String]]
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def equals(o: AnyRef): Boolean
- Definition Classes
- CaseInsensitiveStringMap → Map → AnyRef → Any
- Annotations
- @Override()
- def forEach(arg0: BiConsumer[_ >: String <: AnyRef, _ >: String <: AnyRef]): Unit
- Definition Classes
- Map
- def get(key: AnyRef): String
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def getBoolean(key: String, defaultValue: Boolean): Boolean
Returns the boolean value to which the specified key is mapped, or defaultValue if there is no mapping for the key.
Returns the boolean value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.
- def getDouble(key: String, defaultValue: Double): Double
Returns the double value to which the specified key is mapped, or defaultValue if there is no mapping for the key.
Returns the double value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.
- def getInt(key: String, defaultValue: Int): Int
Returns the integer value to which the specified key is mapped, or defaultValue if there is no mapping for the key.
Returns the integer value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.
- def getLong(key: String, defaultValue: Long): Long
Returns the long value to which the specified key is mapped, or defaultValue if there is no mapping for the key.
Returns the long value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.
- def getOrDefault(arg0: AnyRef, arg1: String): String
- Definition Classes
- Map
- def hashCode(): Int
- Definition Classes
- CaseInsensitiveStringMap → Map → AnyRef → Any
- Annotations
- @Override()
- def isEmpty(): Boolean
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def keySet(): Set[String]
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def merge(arg0: String, arg1: String, arg2: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
- Definition Classes
- Map
- def put(key: String, value: String): String
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def putAll(m: Map[_ <: String, _ <: String]): Unit
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def putIfAbsent(arg0: String, arg1: String): String
- Definition Classes
- Map
- def remove(key: AnyRef): String
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def remove(arg0: AnyRef, arg1: AnyRef): Boolean
- Definition Classes
- Map
- def replace(arg0: String, arg1: String): String
- Definition Classes
- Map
- def replace(arg0: String, arg1: String, arg2: String): Boolean
- Definition Classes
- Map
- def replaceAll(arg0: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): Unit
- Definition Classes
- Map
- def size(): Int
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def values(): Collection[String]
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()