Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for higherEntry (0.04 sec)

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

        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
        assertEquals("one", map.lowerKey("r"));
        assertEquals("one", map.floorKey("r"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

        public SortedMap<K, V> headMap(K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public Map.@Nullable Entry<K, V> higherEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

        public SortedMap<K, V> headMap(K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public Map.@Nullable Entry<K, V> higherEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(ceilingEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return keyOrNull(higherEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
        assertEquals("one", map.lowerKey("r"));
        assertEquals("one", map.floorKey("r"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top