extends:http://www.cnblogs.com/dolphin0520/p/3933551.html
Iterator<Integer> iterator = list.iterator();
while(iterator.hasNext()){
Integer integer = iterator.next();
if(integer==2)
iterator.remove();
}
extends:http://www.cnblogs.com/dolphin0520/p/3933551.html
Iterator<Integer> iterator = list.iterator();
while(iterator.hasNext()){
Integer integer = iterator.next();
if(integer==2)
iterator.remove();
}