摘要: http://stackoverflow.com/questions/3752194/best-practice-to-use-concurrentmaps-putifabsent——————————————————————————————————————————————————I have been using Java's ConcurrentMap for a map that can be used from multiple threads. The putIfAbsent is a great method and is much easier to read/write 阅读全文
posted @ 2011-11-04 14:01 网络大豆 阅读(476) 评论(0) 推荐(0)