- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for lastKey (0.05 seconds)
-
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; } @AndroidIncompatible // test-suite builders public static TestSuite suite() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return standardFirstKey(); } @Override public SortedMap<K, V> headMap(K toKey) { return standardHeadMap(toKey); } @Override public K lastKey() { return standardLastKey(); } @Override public SortedMap<K, V> tailMap(K fromKey) { return standardTailMap(fromKey); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 9.7K bytes - Click Count (0) -
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
@Override @ParametricNullness public K firstKey() { return sortedMap().firstKey(); } @Override @ParametricNullness public K lastKey() { return sortedMap().lastKey(); } @Override public SortedMap<K, Collection<V>> headMap(@ParametricNullness K toKey) { return new SortedAsMap(sortedMap().headMap(toKey)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
return comparator; } @Override public @Nullable K firstKey() { return sortedDelegate.firstKey(); } @Override public @Nullable K lastKey() { return sortedDelegate.lastKey(); } @Nullable K higher(K k) { Iterator<K> iterator = keySet().tailSet(k).iterator(); while (iterator.hasNext()) { K tmp = iterator.next();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertThat(sortedTable.rowMap().firstKey()).isEqualTo("bar"); } public void testRowMapLastKey() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertThat(sortedTable.rowMap().lastKey()).isEqualTo("foo"); } public void testRowKeyMapHeadMap() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); Map<String, Map<Integer, Character>> map = sortedTable.rowMap().headMap("cat");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15.3K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0)