ConcurrentModificationException原因及排除
如何产生,一边遍历一边修改元素,产生iter后再修改原结构,如下,无论是for中或iter都会产生ConcurrentModificationExceptionimport java.util.ArrayList;import java.util.Iterator;import java.util.List;/** * Created by itworker365 on...