- Companion:
- object
Value members
Concrete methods
Deletes all entries associated with the specified keys.
Deletes all entries associated with the specified keys.
Finds the key/value pair matching the specified predicate, and uses the provided function to extract a value out of it.
Finds the key/value pair matching the specified predicate, and uses the provided function to extract a value out of it.
Finds all the key/value pairs matching the specified predicate, and uses the provided function to extract values out them.
Finds all the key/value pairs matching the specified predicate, and uses the provided function to extract values out them.
Finds all the key/value pairs matching the specified predicate, and uses the provided effectful function to extract values out of them..
Finds all the key/value pairs matching the specified predicate, and uses the provided effectful function to extract values out of them..
Finds the key/value pair matching the specified predicate, and uses the provided effectful function to extract a value out of it.
Finds the key/value pair matching the specified predicate, and uses the provided effectful function to extract a value out of it.
Atomically performs transactional-effect for each binding present in map.
Atomically performs transactional-effect for each binding present in map.
Retrieves value associated with given key or default value, in case the key isn't present.
Retrieves value associated with given key or default value, in case the key isn't present.
If the key k
is not already associated with a value, stores the provided
value, otherwise merge the existing value with the new one using function
f
and store the result
If the key k
is not already associated with a value, stores the provided
value, otherwise merge the existing value with the new one using function
f
and store the result
Stores new binding in the map if it does not already exist.
Stores new binding in the map if it does not already exist.
Removes bindings matching predicate and returns the removed entries.
Removes bindings matching predicate and returns the removed entries.
Retains bindings matching predicate and returns removed bindings.
Retains bindings matching predicate and returns removed bindings.
Takes the first matching value, or retries until there is one.
Takes the first matching value, or retries until there is one.
Takes all matching values, or retries until there is at least one.
Takes all matching values, or retries until there is at least one.
Takes all matching values, or retries until there is at least one.
Takes all matching values, or retries until there is at least one.
Atomically updates all bindings using a pure function.
Atomically updates all bindings using a pure function.
Atomically updates all bindings using a transactional function.
Atomically updates all bindings using a transactional function.
Atomically updates all values using a pure function.
Atomically updates all values using a pure function.
Atomically updates all values using a transactional function.
Atomically updates all values using a transactional function.
Updates the mapping for the specified key with the specified function,
which takes the current value of the key as an input, if it exists, and
either returns Some
with a new value to indicate to update the value in
the map or None
to remove the value from the map. Returns Some
with the
updated value or None
if the value was removed from the map.
Updates the mapping for the specified key with the specified function,
which takes the current value of the key as an input, if it exists, and
either returns Some
with a new value to indicate to update the value in
the map or None
to remove the value from the map. Returns Some
with the
updated value or None
if the value was removed from the map.