Is it possible to access all values in a hashmap from another thread and changing the content at the same time without getting a java.util.ConcurrentModificationException?
If yes how? I'm getting the exception in this line: Object[] objects = hashMap.values().toArray();