If the given map contains an entry for the given key, returns its value, otherwise adds a new entry with the result of calling the given function, and returns that.
If the given map contains an entry for the given key, returns its value, otherwise adds a new entry with the result of calling the given function, and returns that.