baidu这个看到很多国人在解释,解释了半天我也没看懂。
于是看了一遍JavaDoc和这个,明白了:
http://stackoverflow.com/questions/3768554/is-iterating-concurrenthashmap-values-thread-safe
baidu这个看到很多国人在解释,解释了半天我也没看懂。
于是看了一遍JavaDoc和这个,明白了:
http://stackoverflow.com/questions/3768554/is-iterating-concurrenthashmap-values-thread-safe