How to avoid "ConcurrentModificationException" while removing elements from `ArrayList` while iterating it?
Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop