- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for SynchronizedCollection (0.16 seconds)
-
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); assertThat(((SynchronizedCollection<?>) values).mutex).isSameInstanceAs(mutex); } public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (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); assertThat(((SynchronizedCollection<?>) values).mutex).isSameInstanceAs(mutex); } public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
Collection<E> collection, @Nullable Object mutex) { return new SynchronizedCollection<>(collection, mutex); } @VisibleForTesting static class SynchronizedCollection<E extends @Nullable Object> extends SynchronizedObject implements Collection<E> { private SynchronizedCollection(Collection<E> delegate, @Nullable Object mutex) { super(delegate, mutex); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
Collection<E> collection, @Nullable Object mutex) { return new SynchronizedCollection<>(collection, mutex); } @VisibleForTesting static class SynchronizedCollection<E extends @Nullable Object> extends SynchronizedObject implements Collection<E> { private SynchronizedCollection(Collection<E> delegate, @Nullable Object mutex) { super(delegate, mutex); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (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: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.3K bytes - Click Count (0) -
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: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.4K bytes - Click Count (0)