是否有与MapMaker for MultiMaps相当的功能? 目前我创建缓存是这样的: public static Map<Session,List<Person>> personCache = new MapMaker().weakKeys().makeMap();
多重映射的整点是为了避免嵌套的列表值。有没有什么办法用弱键构造multimap?
我写了一个小的LINQ像DSL上的Google Collections public class IterableQuery {
public static <T> Where<T> from(Iterable<T> originalCollection) {
return new Where<T>(Iterables.transform(originalCollectio