DefaultMapExtension<K, V> extension

on

Methods

withDefault(V value) MapWithDefault<K, V>
Returns a mutable view of this map that responds with the provided default value, when the caller tries to access a non-existent key.