while(iterator.hasNext() { Object item = iterator.next(); iterator.remove(); //Important! 避免ConcurrentModificationException ...... }