Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for navigableKeySet (0.16 sec)

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

      }
    
      public void testNavigableKeySet() {
        NavigableMap<String, Integer> map = create();
        NavigableSet<String> navigableKeySet = map.navigableKeySet();
        assertTrue(navigableKeySet instanceof SynchronizedNavigableSet);
        assertSame(mutex, ((SynchronizedNavigableSet<String>) navigableKeySet).mutex);
      }
    
      public void testPollFirstEntry() {
        create().pollFirstEntry();
      }
    
    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. android/guava/src/com/google/common/collect/Maps.java

        @Override
        public Set<K> keySet() {
          return navigableKeySet();
        }
    
        @LazyInit @CheckForNull private transient NavigableSet<K> navigableKeySet;
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          NavigableSet<K> result = navigableKeySet;
          return (result == null) ? navigableKeySet = new NavigableKeySet<>(this) : result;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

        @Override
        public Set<K> keySet() {
          return navigableKeySet();
        }
    
        @LazyInit @CheckForNull private transient NavigableSet<K> navigableKeySet;
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          NavigableSet<K> result = navigableKeySet;
          return (result == null) ? navigableKeySet = new NavigableKeySet<>(this) : result;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public Set<K> keySet() {
          return navigableKeySet();
        }
    
        @CheckForNull transient NavigableSet<K> navigableKeySet;
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          synchronized (mutex) {
            if (navigableKeySet == null) {
              return navigableKeySet = Synchronized.navigableSet(delegate().navigableKeySet(), mutex);
            }
            return navigableKeySet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public Set<K> keySet() {
          return navigableKeySet();
        }
    
        @CheckForNull transient NavigableSet<K> navigableKeySet;
    
        @Override
        public NavigableSet<K> navigableKeySet() {
          synchronized (mutex) {
            if (navigableKeySet == null) {
              return navigableKeySet = Synchronized.navigableSet(delegate().navigableKeySet(), mutex);
            }
            return navigableKeySet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

                (RegularImmutableSortedSet<K>) keySet.descendingSet(), valueList.reverse(), this);
          }
        }
        return result;
      }
    
      @Override
      public ImmutableSortedSet<K> navigableKeySet() {
        return keySet;
      }
    
      @Override
      public ImmutableSortedSet<K> descendingKeySet() {
        return keySet.descendingSet();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                (RegularImmutableSortedSet<K>) keySet.descendingSet(), valueList.reverse(), this);
          }
        }
        return result;
      }
    
      @Override
      public ImmutableSortedSet<K> navigableKeySet() {
        return keySet;
      }
    
      @Override
      public ImmutableSortedSet<K> descendingKeySet() {
        return keySet.descendingSet();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top