Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ceilingEntry (0.13 sec)

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

      public void testCeiling() {
        resetWithHole();
        assertEquals(a, navigableMap.ceilingEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.ceilingKey(a.getKey()));
        assertEquals(c, navigableMap.ceilingEntry(b.getKey()));
        assertEquals(c.getKey(), navigableMap.ceilingKey(b.getKey()));
        assertEquals(c, navigableMap.ceilingEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.ceilingKey(c.getKey()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. android/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));
          for (boolean inclusive : new boolean[] {false, true}) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          super(fromMap, transformer);
        }
    
        @Override
        @CheckForNull
        public Entry<K, V2> ceilingEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().ceilingEntry(key));
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(@ParametricNullness K key) {
          return fromMap().ceilingKey(key);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

          super(fromMap, transformer);
        }
    
        @Override
        @CheckForNull
        public Entry<K, V2> ceilingEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().ceilingEntry(key));
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(@ParametricNullness K key) {
          return fromMap().ceilingKey(key);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K ceilingKey(K key) {
        return keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Synchronized.java

          return (NavigableMap<K, V>) super.delegate();
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> ceilingEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().ceilingEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(K key) {
          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)
  7. guava/src/com/google/common/collect/Synchronized.java

          return (NavigableMap<K, V>) super.delegate();
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> ceilingEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().ceilingEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(K key) {
          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)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K ceilingKey(K key) {
        return keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
    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