posts - 35,  comments - 8,  views - 18万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
  2019年3月4日
摘要: 一、ConcurrentModificationException ArrayList源码看为什么出现异常: 由上可知,如果遍历中作get,remove操作都会改变modCount的值,但是此时expectedModCount还是保存以前的modCount的值,肯定不相等,抛出异常。 二、多线程下的 阅读全文
posted @ 2019-03-04 17:37 程序员自我修养张振力 阅读(1234) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示