Feature to get or add value to an associative array.

Giles Bathgate giles.bathgate at gmail.com
Tue Apr 17 09:21:14 UTC 2018


On Tuesday, 17 April 2018 at 07:40:23 UTC, Giles Bathgate wrote:
> My personal reason for not liking it is because the same name 
> is used by Microsoft

The java name for such a function is `computeIfAbsent`

https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#computeIfAbsent-K-java.util.function.Function-


More information about the Digitalmars-d mailing list