Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for firstKey (0.25 sec)

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

      @Override
      @CheckForNull
      public Comparator<? super K> comparator() {
        return delegate().comparator();
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

      @Override
      @CheckForNull
      public Comparator<? super K> comparator() {
        return delegate().comparator();
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      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() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      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() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java

        unfiltered.put("banana", 6);
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 5);
    
        SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals("banana", filtered.firstKey());
        assertEquals("cat", filtered.lastKey());
      }
    
      public void testHeadSubTailMap_FilteredMap() {
        SortedMap<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("apple", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

        }
    
        @Override
        @CheckForNull
        public Comparator<? super R> comparator() {
          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) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate().clear();
          }
        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        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) {
    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)
  8. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate().clear();
          }
        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        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) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java

        unfiltered.put("banana", 6);
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 5);
    
        SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals("banana", filtered.firstKey());
        assertEquals("cat", filtered.lastKey());
      }
    
      public void testHeadSubTailMap_FilteredMap() {
        SortedMap<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("apple", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> pollLastEntry() {
        return Iterators.pollNext(descendingEntryIterator());
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        Entry<K, V> entry = firstEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @ParametricNullness
    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)
Back to top