you could try a ListIterator, that allows modification during iteration
ListIterator<Integer> listIterator = list.listIterator();
while (listIterator.hasNext()) {
Integer i = listIterator.next();
if (i == 7)
listIterator.remove();
}