- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 43 for firstEntry (0.09 seconds)
-
guava/src/com/google/common/collect/TreeRangeMap.java
} @Override public Range<K> span() { Entry<Cut<K>, RangeMapEntry<K, V>> firstEntry = entriesByLowerBound.firstEntry(); Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry(); // Either both are null or neither is, but we check both to satisfy the nullness checker. if (firstEntry == null || lastEntry == null) { throw new NoSuchElementException(); } return Range.create(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 26.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
} @Override Entry<E> getEntry(int index) { return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index)); } @Override public @Nullable Entry<E> firstEntry() { return isEmpty() ? null : getEntry(0); } @Override public @Nullable Entry<E> lastEntry() { return isEmpty() ? null : getEntry(length - 1); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} }; } @Override public NavigableSet<E> elementSet() { return new StandardElementSet(); } @Override public Entry<E> firstEntry() { return standardFirstEntry(); } @Override public Entry<E> lastEntry() { return standardLastEntry(); } @Override public Entry<E> pollFirstEntry() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} }; } @Override public NavigableSet<E> elementSet() { return new StandardElementSet(); } @Override public Entry<E> firstEntry() { return standardFirstEntry(); } @Override public Entry<E> lastEntry() { return standardLastEntry(); } @Override public Entry<E> pollFirstEntry() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return standardHigherEntry(key); } @Override public @Nullable K higherKey(K key) { return standardHigherKey(key); } @Override public @Nullable Entry<K, V> firstEntry() { return standardFirstEntry(); } /* * We can't override lastEntry to delegate to standardLastEntry, as it would create an infinite
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) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
}); // requireNonNull is safe because the first `size` elements have been filled in. Entry<K, V> firstEntry = requireNonNull(entryArray[0]); K prevKey = firstEntry.getKey(); keys[0] = prevKey; values[0] = firstEntry.getValue(); checkEntryNotNull(keys[0], values[0]); for (int i = 1; i < size; i++) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 52.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
public @Nullable K higherKey(@ParametricNullness K key) { return sortedMap().higherKey(key); } @Override public @Nullable Entry<K, Collection<V>> firstEntry() { Entry<K, Collection<V>> entry = sortedMap().firstEntry(); return (entry == null) ? null : wrapEntry(entry); } @Override public @Nullable Entry<K, Collection<V>> lastEntry() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} return descendingMap; } } @Override public Map.@Nullable Entry<K, V> firstEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().firstEntry(), mutex); } } @Override public Map.@Nullable Entry<K, V> floorEntry(K key) { 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
} return descendingMap; } } @Override public Map.@Nullable Entry<K, V> firstEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().firstEntry(), mutex); } } @Override public Map.@Nullable Entry<K, V> floorEntry(K key) { 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/src/com/google/common/collect/Maps.java
public NavigableMap<K, V2> descendingMap() { return transformEntries(fromMap().descendingMap(), transformer); } @Override public @Nullable Entry<K, V2> firstEntry() { return transformEntry(fromMap().firstEntry()); } @Override public @Nullable Entry<K, V2> floorEntry(@ParametricNullness K key) { return transformEntry(fromMap().floorEntry(key)); }
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)