Attributes
- Companion
- object
- Source
- TMap.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Tests whether or not map contains a key.
Removes binding for given key.
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.
Attributes
- Source
- TMap.scala
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.
Attributes
- Source
- TMap.scala
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..
Attributes
- Source
- TMap.scala
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.
Attributes
- Source
- TMap.scala
Atomically folds using a pure function.
Atomically folds using a transactional function.
Atomically performs transactional-effect for each binding present in map.
Atomically performs transactional-effect for each binding present in map.
Attributes
- Source
- TMap.scala
Retrieves value associated with given key.
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.
Attributes
- Source
- TMap.scala
Retrieves value associated with given key or transactional default value, in case the key isn't present.
Retrieves value associated with given key or transactional default value, in case the key isn't present.
Attributes
- Source
- TMap.scala
Tests if the map is empty or not
Collects all keys stored in map.
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
Attributes
- Source
- TMap.scala
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 transactional 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 transactional function f and store the result
Attributes
- Source
- TMap.scala
Stores new binding into the map.
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.
Retains bindings matching predicate and returns removed bindings.
Retains bindings matching predicate.
Takes the first matching value, or retries until there is one.
Attributes
- Source
- TMap.scala
Takes all matching values, or retries until there is at least one.
Takes all matching values, or retries until there is at least one.
Collects all bindings into a chunk.
Collects all bindings into a list.
Collects all bindings into a map.
Atomically updates all bindings using a pure function.
Atomically updates all bindings using a transactional function.
Atomically updates all values using a pure 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.
Attributes
- Source
- TMap.scala
Updates the mapping for the specified key with the specified transactional 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 transactional 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.
Attributes
- Source
- TMap.scala
Collects all values stored in map.
Concrete fields
Returns the number of bindings.