- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SynchronizedCollection (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testValues() { Map<String, Integer> map = create(); Collection<Integer> values = map.values(); assertTrue(values instanceof SynchronizedCollection); assertSame(mutex, ((SynchronizedCollection<?>) values).mutex); } public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testValues() { Map<String, Integer> map = create(); Collection<Integer> values = map.values(); assertTrue(values instanceof SynchronizedCollection); assertSame(mutex, ((SynchronizedCollection<?>) values).mutex); } public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
* are responsible for taking the mutex themselves: * https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/Collections.html#synchronizedCollection(java.util.Collection) * * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods * that will perform holdsLock assertions: *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.3K bytes - Viewed (0)