Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for lastKey (0.08 sec)

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

        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

          return sortedBackingMap().comparator();
        }
    
        @Override
        public R firstKey() {
          return sortedBackingMap().firstKey();
        }
    
        @Override
        public R lastKey() {
          return sortedBackingMap().lastKey();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> headMap(R toKey) {
          checkNotNull(toKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        @Override
        public K firstKey() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().firstKey();
        }
    
        @Override
        public K lastKey() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lastKey();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingSortedMap.java

      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        return delegate().lastKey();
      }
    
      @Override
      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return delegate().subMap(fromKey, toKey);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/StandardRowSortedTable.java

          return sortedBackingMap().comparator();
        }
    
        @Override
        public R firstKey() {
          return sortedBackingMap().firstKey();
        }
    
        @Override
        public R lastKey() {
          return sortedBackingMap().lastKey();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> headMap(R toKey) {
          checkNotNull(toKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return navigableKeySet();
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return delegate.lastEntry();
      }
    
      @Override
      public K lastKey() {
        return delegate.lastKey();
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return delegate.lowerEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        Entry<K, V> entry = firstEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        return delegate().lastKey();
      }
    
      @Override
      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return delegate().subMap(fromKey, toKey);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return navigableKeySet();
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return delegate.lastEntry();
      }
    
      @Override
      public K lastKey() {
        return delegate.lastKey();
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return delegate.lowerEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top