Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for floorKey (0.37 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeiling() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorEntry(key);
        }
    
        @Override
        public @Nullable K floorKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorKey(key);
        }
    
        @Override
        public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

            if (subRange.isEmpty()) {
              return emptyIterator();
            }
            Cut<K> cutToStart =
                MoreObjects.firstNonNull(
                    entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound);
            final Iterator<RangeMapEntry<K, V>> backingItr =
                entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        public Entry<K, V2> floorEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().floorEntry(key));
        }
    
        @Override
        @CheckForNull
        public K floorKey(@ParametricNullness K key) {
          return fromMap().floorKey(key);
        }
    
        @Override
        public NavigableMap<K, V2> headMap(@ParametricNullness K toKey) {
          return headMap(toKey, false);
        }
    
        @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)
  7. guava/src/com/google/common/collect/Maps.java

        public Entry<K, V2> floorEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().floorEntry(key));
        }
    
        @Override
        @CheckForNull
        public K floorKey(@ParametricNullness K key) {
          return fromMap().floorKey(key);
        }
    
        @Override
        public NavigableMap<K, V2> headMap(@ParametricNullness K toKey) {
          return headMap(toKey, false);
        }
    
        @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)
  8. android/guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K floorKey(K key) {
          synchronized (mutex) {
            return delegate().floorKey(key);
          }
        }
    
        @Override
        public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
          synchronized (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)
  9. guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K floorKey(K key) {
          synchronized (mutex) {
            return delegate().floorKey(key);
          }
        }
    
        @Override
        public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
          synchronized (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)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

            if (subRange.isEmpty()) {
              return emptyIterator();
            }
            Cut<K> cutToStart =
                MoreObjects.firstNonNull(
                    entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound);
            final Iterator<RangeMapEntry<K, V>> backingItr =
                entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top