ComputedMapExtension<K, V> extension
Extension on Map to provide computed default values.
- on
-
- Map<
K, V>
- Map<
Methods
-
withComputed(
V computation(K key)) → MapWithComputed< K, V> -
Available on Map<
Returns a mutable view of this map that computes and stores absent keys with the providedK, V> , provided by the ComputedMapExtension extensioncomputation.