Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for floorEntry (0.19 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.firstEntry();
      }
    
      @Override
      public K firstKey() {
        return delegate.firstKey();
      }
    
      @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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/cache/internal/CacheVersionMapping.java

            GradleVersion versionToFind = gradleVersion.isSnapshot() ? gradleVersion.getBaseVersion() : gradleVersion;
            return Optional.fromNullable(versions.floorEntry(versionToFind)).transform(TO_VALUE);
        }
    
        public static Builder introducedIn(String gradleVersion) {
            return new Builder().changedTo(1, gradleVersion);
        }
    
        public static class Builder {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 30 20:23:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        for (K key : keysToTest) {
          assertEquals(expected.lowerEntry(key), navigableMap.lowerEntry(key));
          assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key));
          assertEquals(expected.ceilingEntry(key), navigableMap.ceilingEntry(key));
          assertEquals(expected.higherEntry(key), navigableMap.higherEntry(key));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 24.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return sortedMap().lowerKey(key);
        }
    
        @Override
        @CheckForNull
        public Entry<K, Collection<V>> floorEntry(@ParametricNullness K key) {
          Entry<K, Collection<V>> entry = sortedMap().floorEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        @CheckForNull
        public K floorKey(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().firstEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> floorEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K floorKey(K key) {
          synchronized (mutex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().firstEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> floorEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K floorKey(K key) {
          synchronized (mutex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return sortedMap().lowerKey(key);
        }
    
        @Override
        @CheckForNull
        public Entry<K, Collection<V>> floorEntry(@ParametricNullness K key) {
          Entry<K, Collection<V>> entry = sortedMap().floorEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        @CheckForNull
        public K floorKey(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K floorKey(K key) {
        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top