Returns the value for the key. If absent, computes value with fn, stores it, and returns it.
| map |
the map to query and update. |
| key |
the key to look up. |
| fn |
supplier function for missing values. |
|
existing or computed value. |