Join Slack
Powered by
regarding maps, is there a std-lib way to get the ...
# announcements
g
groostav
03/04/2017, 9:17 AM
regarding maps, is there a std-lib way to get the value from a map, or execute a factory, put the result in the map, and return that value? Something like
Copy code
mutableMap.getOrMake(thing) { factory() }
Open in Slack
Previous
Next