Closed GoogleCodeExporter closed 9 years ago
On second thoughts, trying go get an empty collection from a Map that doesn't
contain the key seems absurd, and incompatible with the Map spec. I'd vote for
adding "where the key is associated with any values in the multimap" or
something to the end of that javadoc and leaving the behaviour as it is.
Original comment by joe.j.kearney
on 1 Oct 2010 at 2:49
This Javadoc statement in accurate, as long as asMap().get() doesn't return
null.
"The collections returned by asMap().get(Object) have the same behavior as
those returned by get(K)."
Maybe that sentence should include "if not null".
Original comment by jl...@google.com
on 7 Oct 2010 at 5:55
That could work. Or "if the key is currently present in the map".
Original comment by joe.j.kearney
on 8 Oct 2010 at 7:48
I clarified the Javadoc.
Original comment by jared.l....@gmail.com
on 18 Oct 2010 at 10:28
Original comment by kevinb@google.com
on 18 Jan 2011 at 8:38
Original comment by kevinb@google.com
on 24 Jan 2011 at 9:34
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:15
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:09
Original issue reported on code.google.com by
joe.j.kearney
on 30 Sep 2010 at 3:04