Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for higherEntry (0.43 sec)

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

      public void testHigher() {
        resetWithHole();
        assertEquals(c, navigableMap.higherEntry(a.getKey()));
        assertEquals(c.getKey(), navigableMap.higherKey(a.getKey()));
        assertEquals(c, navigableMap.higherEntry(b.getKey()));
        assertEquals(c.getKey(), navigableMap.higherKey(b.getKey()));
        assertEquals(null, navigableMap.higherEntry(c.getKey()));
        assertEquals(null, navigableMap.higherKey(c.getKey()));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testHigher() {
        resetWithHole();
        assertEquals(c, navigableMap.higherEntry(a.getKey()));
        assertEquals(c.getKey(), navigableMap.higherKey(a.getKey()));
        assertEquals(c, navigableMap.higherEntry(b.getKey()));
        assertEquals(c.getKey(), navigableMap.higherKey(b.getKey()));
        assertEquals(null, navigableMap.higherEntry(c.getKey()));
        assertEquals(null, navigableMap.higherKey(c.getKey()));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return delegate().higherEntry(key);
      }
    
      /**
       * A sensible definition of {@link #higherEntry} in terms of the {@code firstEntry()} of {@link
       * #tailMap(Object, boolean)}. If you override {@code tailMap}, you may wish to override {@code
       * higherEntry} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return delegate().higherEntry(key);
      }
    
      /**
       * A sensible definition of {@link #higherEntry} in terms of the {@code firstEntry()} of {@link
       * #tailMap(Object, boolean)}. If you override {@code tailMap}, you may wish to override {@code
       * higherEntry} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        @Override
        public SortedMap<K, V> headMap(K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public @Nullable Entry<K, V> higherEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().higherEntry(key);
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().higherKey(key);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return delegate.higherEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return delegate.higherKey(checkValid(key));
      }
    
      @Override
      public boolean isEmpty() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return delegate.higherEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return delegate.higherKey(checkValid(key));
      }
    
      @Override
      public boolean isEmpty() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        @Override
        public SortedMap<K, V> headMap(K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public @Nullable Entry<K, V> higherEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().higherEntry(key);
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().higherKey(key);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
Back to top