map and null values
dl at cs.oswego.edu
Thu Jan 3 08:55:58 PST 2013
On 01/03/13 11:09, Peter Levart wrote:
> I proposed a simple change to remove(key, value) and replace(key, oldValue,
> newValue) that doesn't throw NPE when there are null values already in Map
The replacement of equals with Objects.equals seems fine and
will be slightly less hostile to some users; thanks.
It would need to also be reflected in spec.
> The other change was to compute() and merge() default methods.
Not quite (there is no key refresh in one branch) but can be
More information about the lambda-dev