Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for floorEntry (0.18 sec)

  1. guava/src/com/google/common/collect/TreeRangeSet.java

        checkNotNull(range);
        Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound);
        return floorEntry != null && floorEntry.getValue().encloses(range);
      }
    
      @CheckForNull
      private Range<C> rangeEnclosing(Range<C> range) {
        checkNotNull(range);
        Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound);
        return (floorEntry != null && floorEntry.getValue().encloses(range))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeSet.java

        checkNotNull(range);
        Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound);
        return floorEntry != null && floorEntry.getValue().encloses(range);
      }
    
      @CheckForNull
      private Range<C> rangeEnclosing(Range<C> range) {
        checkNotNull(range);
        Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound);
        return (floorEntry != null && floorEntry.getValue().encloses(range))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return delegate().floorEntry(key);
      }
    
      /**
       * A sensible definition of {@link #floorEntry} in terms of the {@code lastEntry()} of {@link
       * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code
       * floorEntry} to forward to this implementation.
       */
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return delegate().floorEntry(key);
      }
    
      /**
       * A sensible definition of {@link #floorEntry} in terms of the {@code lastEntry()} of {@link
       * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code
       * floorEntry} to forward to this implementation.
       */
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testFloor() {
        resetWithHole();
        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()));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testFloor() {
        resetWithHole();
        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()));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractNavigableMap.java

        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().firstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> floorEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorEntry(key);
        }
    
        @Override
        public @Nullable K floorKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorKey(key);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. android/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)
Back to top