Map#get needs a default value param?

Hemanth H.M hemanth.hm at gmail.com
Tue Jun 12 07:19:38 PDT 2012


Would it be useful to have something like sum[value] = sum.get(value, 0) + 1

-- 
*'I am what I am because of who we all are'*
h3manth.com <http://www.h3manth.com>
*-- Hemanth HM *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120612/55161f8b/attachment.html>


More information about the es-discuss mailing list