- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for SynchronizedBiMap (0.07 seconds)
-
android/guava/src/com/google/common/collect/Maps.java
* * <p>It is imperative that the user manually synchronize on the returned map when accessing any * of its collection views: * * {@snippet : * BiMap<Long, String> map = Maps.synchronizedBiMap(HashBiMap.create()); * ... * Set<Long> set = map.keySet(); // Needn't be in synchronized block * ... * synchronized (map) { // Synchronizing on map, not set!Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
* * <p>It is imperative that the user manually synchronize on the returned map when accessing any * of its collection views: * * {@snippet : * BiMap<Long, String> map = Maps.synchronizedBiMap(HashBiMap.create()); * ... * Set<Long> set = map.keySet(); // Needn't be in synchronized block * ... * synchronized (map) { // Synchronizing on map, not set!Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0)