ACMNexus / google-collections

Automatically exported from code.google.com/p/google-collections
Apache License 2.0
0 stars 0 forks source link

MIssing MultimapMaker / expand functionality for MapMaker #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
currently i use MapMaker to create short-lived caches within a hibernate
session, like 

           public static Map<Session,List<Person>> personCache = new
MapMaker().weakKeys().makeMap();

the whole point of Multimaps are to get rid of constructs like the one above. 

if possible a .makeMultimap() Method should create a Mutable Multimap with
the given features, or alternatively, a new MultimapMaker() class that
mimics the MapMaker. such a builder should have identical semantics.

see also:
http://stackoverflow.com/questions/737060/create-weak-multimap-with-google-colle
ctions

Original issue reported on code.google.com by heroldsi...@googlemail.com on 10 Apr 2009 at 10:10

GoogleCodeExporter commented 8 years ago

Original comment by kevin...@gmail.com on 17 Sep 2009 at 5:57

GoogleCodeExporter commented 8 years ago

Original comment by kevin...@gmail.com on 17 Sep 2009 at 6:02

GoogleCodeExporter commented 8 years ago
This issue has been moved to the Guava project (keeping the same id number). 
Simply replace 'google-collections' with 'guava-libraries' in your address 
bar and it should take you there.

Original comment by kevinb@google.com on 5 Jan 2010 at 11:09