Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SynchronizedNavigableSet (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top