是 ConcurrentHashMap ConcurrentHashSet 不同县城同时修改和遍历时不会出现 fail-fast ?
1
sagaxu 2017-11-27 10:32:14 +08:00
不能并发访问的,还能叫 ConcurrentXXX 吗?
|
2
suikator 2017-11-27 10:43:04 +08:00 via Android
List/Set: CopyOnWriteArrayList CopyOnWriteArraySet ConcurrentSkipListSet
Map: ConcurrentHashMap ConcurrentSkipListMap |