Guava MultiMap and ConcurrentModificationException [duplicate]
问题 This question already has answers here : Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop (24 answers) Why is a ConcurrentModificationException thrown and how to debug it (7 answers) Closed 10 months ago . I don't understand why I get a ConcurrentModificationException when I iterate through this multimap . I read the following entry, but I am not sure if I understood the whole thing. I tried to add a synchronized block. But my doubt is