Created
July 31, 2012 09:03
-
-
Save rschildmeijer/3215291 to your computer and use it in GitHub Desktop.
excessive synchronization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multimap<K, V> multimap = Multimaps.synchronizedMultimap(HashMultimap.<K, V>create()); | |
.. | |
synchronize(multimap) { | |
multimap.put(k, v); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment