📜  concurrentmodificationexception android - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:41.845000             🧑  作者: Mango

代码示例1
Iterator iter = myArrayList.iterator();

while (iter.hasNext()) {
    String str = iter.next();

    if (someCondition)
        iter.remove();
}