- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for synchronizedNavigableSet (0.16 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
NavigableMap<String, Integer> map = create(); NavigableSet<String> descendingKeySet = map.descendingKeySet(); assertTrue(descendingKeySet instanceof SynchronizedNavigableSet); assertSame(mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex); } public void testDescendingMap() { NavigableMap<String, Integer> map = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 12.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
NavigableSet<String> delegate = new TreeSet<>(MinimalCollection.of(elements)); return Collections.synchronizedNavigableSet(delegate); } }) .named("synchronizedNavigableSet/TreeSet, natural") .withFeatures( SetFeature.GENERAL_PURPOSE, CollectionFeature.SERIALIZABLE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* iterating over it or any of its {@code descendingSet}, {@code subSet}, {@code headSet}, or * {@code tailSet} views. * * <pre>{@code * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>()); * ... * synchronized (set) { * // Must be in the synchronized block * Iterator<E> it = set.iterator(); * while (it.hasNext()) { * foo(it.next());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
private static final long serialVersionUID = 0; } @GwtIncompatible // NavigableSet @VisibleForTesting static final class SynchronizedNavigableSet<E extends @Nullable Object> extends SynchronizedSortedSet<E> implements NavigableSet<E> { SynchronizedNavigableSet(NavigableSet<E> delegate, @CheckForNull Object mutex) { super(delegate, mutex); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
private static final long serialVersionUID = 0; } @GwtIncompatible // NavigableSet @VisibleForTesting static final class SynchronizedNavigableSet<E extends @Nullable Object> extends SynchronizedSortedSet<E> implements NavigableSet<E> { SynchronizedNavigableSet(NavigableSet<E> delegate, @CheckForNull Object mutex) { super(delegate, mutex); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0)