That's just a feature of the specific map you're u...
# stdlib
k
That's just a feature of the specific map you're using the, the docs for
putIfAbsent
(and for most of the other collections functions) says:
throws
NullPointerException
- if the specified key or value is null, and this map does not permit null keys or values