01 E move (int index) 通过索引删除元素
02 boolean remove(Object obj)
直接删除元素
03 并发修改异常
在for循环中使用
在iterator()中使用
上面两种都会出现下面的异常
![在这里插入图片描述](https://img-blog.csdnimg.cn/a27aeb6374e64ea592a40d647b655d22.png)
解决办法1 使用iterator()的remove()方法
解决办法二 使用listIterator()的remove()方法
boolean removeAll (Collection c)删除两个集合的交集
没有交集,返回为flase