Map.computeIfAbsent
    Martin Buchholz 
    martinrb at google.com
       
    Fri May 24 10:35:48 PDT 2013
    
    
  
Looking at the spec for get() I see:
     * @param key the key whose associated value is to be returned
computeIfAbsent is an enhanced form of get(), so we could simply reuse that
@param, possibly embellished slightly with a phrase like
"possibly computed by the mapping function"
On Thu, May 23, 2013 at 8:33 PM, Martin Buchholz <martinrb at google.com>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.
>
    
    
More information about the lambda-dev
mailing list