- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 27 for firstKey (0.05 seconds)
-
guava/src/com/google/common/collect/AbstractNavigableMap.java
} @Override public @Nullable 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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
@Override public @Nullable Comparator<? super K> comparator() { return sortedMap().comparator(); } @Override @ParametricNullness public K firstKey() { return sortedMap().firstKey(); } @Override @ParametricNullness public K lastKey() { return sortedMap().lastKey(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return new StandardNavigableKeySet(); } @Override public NavigableSet<K> descendingKeySet() { return standardDescendingKeySet(); } @Override public K firstKey() { return standardFirstKey(); } @Override public SortedMap<K, V> headMap(K toKey) { return standardHeadMap(toKey); } @Override public K lastKey() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
} @Override public Comparator<? super K> comparator() { return comparator; } @Override public @Nullable K firstKey() { return sortedDelegate.firstKey(); } @Override public @Nullable K lastKey() { return sortedDelegate.lastKey(); } @Nullable K higher(K k) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 16.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
@Override public @Nullable Comparator<? super K> comparator() { return fromMap().comparator(); } @Override @ParametricNullness public K firstKey() { return fromMap().firstKey(); } @Override public SortedMap<K, V2> headMap(@ParametricNullness K toKey) { return transformEntries(fromMap().headMap(toKey), transformer); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
@Override public @Nullable Comparator<? super K> comparator() { return fromMap().comparator(); } @Override @ParametricNullness public K firstKey() { return fromMap().firstKey(); } @Override public SortedMap<K, V2> headMap(@ParametricNullness K toKey) { return transformEntries(fromMap().headMap(toKey), transformer); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 163.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
} public void testRowMapFirstKey() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSame("bar", sortedTable.rowMap().firstKey()); } public void testRowMapLastKey() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSame("foo", sortedTable.rowMap().lastKey()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().comparator(); } } @Override public K firstKey() { synchronized (mutex) { return delegate().firstKey(); } } @Override public SortedMap<K, V> headMap(K toKey) { synchronized (mutex) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().comparator(); } } @Override public K firstKey() { synchronized (mutex) { return delegate().firstKey(); } } @Override public SortedMap<K, V> headMap(K toKey) { synchronized (mutex) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
replica.put(newValue, new AtomicInteger(1)); } } private static void removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) { Integer replicatedMinValue = replica.firstKey(); assertEquals(replicatedMinValue, (Integer) minValue); removeFromReplica(replica, replicatedMinValue); } private static void removeMaxFromReplica(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.1K bytes - Click Count (0)