Finds the result of calling map.get(key).
If there is no result, it instead returns the result of the default function.
The Map will also be updated to assign that default value to the given key.
Finds the result of calling map.get(key).
If there is no result, it instead returns the result of the default function.
The Map will also be updated to assign the resolved default value to the given key.
Finds the result of calling
map.get(key)
. If there is no result, it instead returns the result of the default function. The Map will also be updated to assign that default value to the given key.