K
Knute Johnson
I've got an ArrayList and I want to iterate over the list and remove the
occasional element. If I use the new for loop it throws a
ConcurrentModificationException. An Iterator is going to have the same
problem. There must be some simple way to do this that I'm not thinking
of tonight.
Thanks,
occasional element. If I use the new for loop it throws a
ConcurrentModificationException. An Iterator is going to have the same
problem. There must be some simple way to do this that I'm not thinking
of tonight.
Thanks,