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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def asCaseSensitiveMap(): Map[String, String]
Returns the original case-sensitive map.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def values(): Collection[String]
- Definition Classes
- CaseInsensitiveStringMap → Map
- Annotations
- @Override()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)