Join Slack
Powered by
You can always use `getOrDefault` if you have a de...
# codingconventions
d
dalexander
05/23/2018, 5:06 PM
You can always use
getOrDefault
if you have a default value you can use if the key isn't in the map. Depending on your use case, handling the null or crashing might be better though.
☝️ 1
Open in Slack
Previous
Next