I want to avoid getting ConcurrentModificationException. How would I do it?
ConcurrentModificationException