2020年9月1日

摘要: 使用迭代器Iterator遍历集合元素时,如果删除的元素不是倒数第二个数据,则会抛出ConcurrentModificationException异常 public static void main(String[] args) { List<String> list = new ArrayList 阅读全文
posted @ 2020-09-01 11:08 永不宕机 阅读(858) 评论(0) 推荐(0) 编辑

导航