public StringValues
| Modifier and Type | Interface and Description |
|---|---|
static class |
StringValues.Companion |
static class |
StringValues.DefaultImpls
|
| Modifier and Type | Field and Description |
|---|---|
static StringValues.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.String name)
Checks if the given name exists in the map
|
boolean |
contains(java.lang.String name,
java.lang.String value)
Checks if the given name and value pair exists in the map
|
java.util.Set<java.util.Map.Entry> |
entries()
Gets all entries from the map
|
void |
forEach(kotlin.jvm.functions.Function2<? super java.lang.String,? super java.util.List<java.lang.String>,kotlin.Unit> body)
Iterates over all entries in this map and calls body for each pair
|
java.lang.String |
get(java.lang.String name)
Gets first value from the list of values associated with a name, or null if the name is not present
|
java.util.List<java.lang.String> |
getAll(java.lang.String name)
Gets all values associated with the name, or null if the name is not present
|
boolean |
getCaseInsensitiveName()
Specifies if map has case-sensitive or case-insensitive names
|
boolean |
isEmpty()
Checks if this map is empty
|
java.util.Set<java.lang.String> |
names()
Gets all names from the map
|
static StringValues.Companion Companion
boolean getCaseInsensitiveName()
Specifies if map has case-sensitive or case-insensitive names
java.lang.String get(java.lang.String name)
Gets first value from the list of values associated with a name, or null if the name is not present
java.util.List<java.lang.String> getAll(java.lang.String name)
Gets all values associated with the name, or null if the name is not present
java.util.Set<java.lang.String> names()
Gets all names from the map
java.util.Set<java.util.Map.Entry> entries()
Gets all entries from the map
boolean contains(java.lang.String name)
Checks if the given name exists in the map
boolean contains(java.lang.String name,
java.lang.String value)
Checks if the given name and value pair exists in the map
void forEach(kotlin.jvm.functions.Function2<? super java.lang.String,? super java.util.List<java.lang.String>,kotlin.Unit> body)
Iterates over all entries in this map and calls body for each pair
Can be optimized in implementations
boolean isEmpty()
Checks if this map is empty