How to Iterate over ConcurrentHashMap with HashSet as value and remove a string from the HashSet while iterating over the map?
Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop