Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for synchronizedNavigableMap (0.28 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> descendingMap = map.descendingMap();
        assertTrue(descendingMap instanceof SynchronizedNavigableMap);
        assertSame(mutex, ((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex);
      }
    
      public void testFirstEntry() {
        create().firstEntry();
      }
    
      public void testFirstKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    NavigableMap<String, String> delegate = populate(new TreeMap<>(), entries);
                    return Collections.synchronizedNavigableMap(delegate);
                  }
                })
            .named("synchronizedNavigableMap/TreeMap, natural")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

        return new SynchronizedNavigableMap<>(navigableMap, mutex);
      }
    
      @GwtIncompatible // NavigableMap
      @VisibleForTesting
      static final class SynchronizedNavigableMap<
              K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedSortedMap<K, V> implements NavigableMap<K, V> {
    
        SynchronizedNavigableMap(NavigableMap<K, V> delegate, @CheckForNull Object mutex) {
    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

        return new SynchronizedNavigableMap<>(navigableMap, mutex);
      }
    
      @GwtIncompatible // NavigableMap
      @VisibleForTesting
      static final class SynchronizedNavigableMap<
              K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedSortedMap<K, V> implements NavigableMap<K, V> {
    
        SynchronizedNavigableMap(NavigableMap<K, V> delegate, @CheckForNull Object mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

       * descendingMap}, {@code subMap}, {@code headMap} or {@code tailMap} views.
       *
       * <pre>{@code
       * NavigableMap<K, V> map = synchronizedNavigableMap(new TreeMap<K, V>());
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set = map.navigableKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not set!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

       * descendingMap}, {@code subMap}, {@code headMap} or {@code tailMap} views.
       *
       * <pre>{@code
       * NavigableMap<K, V> map = synchronizedNavigableMap(new TreeMap<K, V>());
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set = map.navigableKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not set!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top