will the Guava Multimap .values() collection throw concurrent modification exceptions if the return collection if iterated on another thread while the main multimap is changed on another thread?
If so how can this is avoided?
Basically I need to return the Multimap .values() collection from a method running on another thread while the main thread may update the Multimap.
Does this statement from the docs mean I'll be ok? " *
This class is not threadsafe when any concurrent operations update the * multimap. Concurrent read operations will work correctly. To allow concurrent * update operations, wrap your multimap with a call to {@link * Multimaps#synchronizedListMultimap}."
Thanks