需要先显示的声明一下迭代器 Iterator it=list.iterator(); while(it.hasNext()){ Object e=it.next(); if("b".equals(e)){ it.remove(); } } System.out.println(list);