The asMap() method currently always returns <K, Collection<V>> whether the
implementation is an ArrayListMultimap or a HashSetMultimap. It seems like
the Multimap interface could have another generic to tell what its return
type is and be defined as <? extends Collection>.
Although it seems like a List and Set are truly returned, it's would be
nicer to know from the returned Map, if it allows or has duplicates in the
Collection or not and if it's indexable.
Original issue reported on code.google.com by jtor...@gmail.com on 18 Dec 2009 at 9:12
Original issue reported on code.google.com by
jtor...@gmail.com
on 18 Dec 2009 at 9:12