Is there an equivalent to the nice MapMaker for MultiMaps? currently i create the cache like this:
有没有相当于漂亮的MapMaker for MultiMaps?目前我创建这样的缓存:
public static Map<Session,List<Person>> personCache = new MapMaker().weakKeys().makeMap();
the whole point of MultiMap is to avoid the nested List Values. is there any way to construct the multimap with weak keys?
MultiMap的重点是避免嵌套的List值。有没有办法用弱键构造多图?
1 个解决方案
#1
Unfortunately not. Yet. Could you file a MultimapMaker feature request in our issues db? http://google-collections.googlecode.com
不幸的是不是然而。您可以在我们的问题数据库中提交MultimapMaker功能请求吗? http://google-collections.googlecode.com
#1
Unfortunately not. Yet. Could you file a MultimapMaker feature request in our issues db? http://google-collections.googlecode.com
不幸的是不是然而。您可以在我们的问题数据库中提交MultimapMaker功能请求吗? http://google-collections.googlecode.com