ArrayList 中 remove

 不要在foreach循环里进行元素的remove/add操作

使用迭代器 删除 ArrayList 

 

posted @ 2022-06-22 10:36  BBS_自律  阅读(33)  评论(0)    收藏  举报