|
|
|
|
|
by premium-concern
3431 days ago
|
|
> (Option, nullable return value, and throw an exception if not found) Which Map are you talking about? I don't see the method that returns nulls for missing values. > Kotlin has only single way. ... with the nice side-effect of being unable to tell whether the key didn't exist or if it was null. That's the single worst approach one can take. |
|
Most Java Collections does not allow null keys and null values.