English 中文(简体)
MapMaker and Reference 地图——谷歌集
原标题:MapMaker and ReferenceMap - Google Collections
  • 时间:2010-01-11 23:09:55
  •  标签:
  • guava

我理解谷歌集字母版的参考资料Map被地图集所取代。

我用背书的地图使用了这个参考Map构造者:

public ReferenceMap(ReferenceType keyReferenceType, ReferenceType
       valueReferenceType, ConcurrentMap<Object, Object> backingMap) {
     this(keyReferenceType, valueReferenceType, backingMap, true);
} 

我的背书地图是同时绘制的,能够收集统计数据(点击/点击等)。

我能用什么代替上述参考资料Map构造?

谢恩

问题回答

我们未能继续提供通过你自己的支持地图的能力。 地图仪使用自己定制的地图实施。

但是,为了收集点击/场面的统计数字,你可以总结一下在向前推进的会考人数中回归的会考人数,以类似方式计算get/code>(>)在职业(使用原子镜)上。 (这当然几乎等于要求减去评估)





相关问题
Has Google Collections 1.0 been mavenized?

According to the entry at MVNRepository, at the time of this writing, the latest version in maven central is 1.0-rc5. I am aware there are no changes between 1.0 which was recently announced and RC5, ...

Guava: ImmutableSet of either values or an empty set

I need a cleaner solution to using an ImmutableSet. I have code that looks like Set foo = ImmutableSet.copyOf(aGeoR.getFailed()); it works great when aGeoR.getFailed() returns one or more entries. ...

Guava libraries and GWT

Just discovered the Guava libraries project. Do these work with GWT?

Java: null pointer exception when unboxing Integer?

This code is causing a null pointer exception. I have no idea why: private void setSiblings(PhylogenyTree node, Color color) throws InvalidCellNumberException { PhylogenyTree parent = node....

TreeMultimap in Google Collections

Has anybody used TreeMultimap in Google Collections? I understand that with a TreeMultimap, its keys and values are ordered by their natural ordering or by supplied comparators. I was wondering if ...

热门标签