Map.computeIfAbsent
Peter Levart
peter.levart at gmail.com
Fri May 24 03:09:12 PDT 2013
On 05/24/2013 05:33 AM, Martin Buchholz wrote:
> This spec snippet from Map.computeIfAbsent:
>
> * @param key key with which the specified value is to be associated
>
> is not correct, since there is no "specified value". A convincing
> replacement is hard to find. Perhaps best is the muddy
>
> * @param key key with which a value may be associated
>
> from computeIfPresent.
What about:
@param key key with which the optionally computed value is to be associated
Regards, Peter
More information about the lambda-dev
mailing list