MapExtension<K, V> extension
Map
- on
-
- Map<
K, V> ?
- Map<
Properties
- isNotNullOrEmpty → bool
-
Available on Map<
ReturnsK, V> ?, provided by the MapExtension extensiontrue
if this nullable map is notnull
and contains at least one key-value pair.no setter - isNullOrEmpty → bool
-
Available on Map<
ReturnsK, V> ?, provided by the MapExtension extensiontrue
if this nullable map is eithernull
or empty.no setter
Methods
-
addIfNotNull(
K key, V value) → Map< K, V> ? -
Available on Map<
Adds an item into the map if the value is notK, V> ?, provided by the MapExtension extensionnull
and the key does not exist. -
capitalizeKeysFirstCharacter(
) → Map< String, V> -
Available on Map<
Returns a new map with all keys' first character capitalized.K, V> ?, provided by the MapExtension extension -
filter(
bool predicate(K key, V value)) → Map< K, V> -
Available on Map<
Returns a new map containing only the entries that satisfy the givenK, V> ?, provided by the MapExtension extensionpredicate
. -
updateAndJoin(
Map< K, V> ? map) → Map<K, V> -
Available on Map<
Merges this map with another map. If a key already exists, the new map's value overrides the existing one.K, V> ?, provided by the MapExtension extension