摘要: 一、需求 多个线程再获取同一个集合里面的数据同时,修改集合中的数据。 二、有问题的写法 结果: 3、CopyOnWriteArrayList 问题解决。 阅读全文
posted @ 2019-01-18 18:23 npe0 阅读(1047) 评论(0) 推荐(0) 编辑