- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 41 for lastEntry (0.04 sec)
-
guava/src/com/google/common/collect/TreeRangeMap.java
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( firstEntry.getValue().getKey().lowerBound, lastEntry.getValue().getKey().upperBound); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return new StandardElementSet(); } @Override public Entry<E> firstEntry() { return standardFirstEntry(); } @Override public Entry<E> lastEntry() { return standardLastEntry(); } @Override public Entry<E> pollFirstEntry() { return standardPollFirstEntry(); } @Override public Entry<E> pollLastEntry() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return (entry == null) ? null : wrapEntry(entry); } @Override public @Nullable Entry<K, Collection<V>> lastEntry() { Entry<K, Collection<V>> entry = sortedMap().lastEntry(); return (entry == null) ? null : wrapEntry(entry); } @Override public @Nullable Entry<K, Collection<V>> pollFirstEntry() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
@Override public @Nullable Entry<K, V> lowerEntry(K key) { return headMap(key, false).lastEntry(); } @Override public @Nullable K lowerKey(K key) { return keyOrNull(lowerEntry(key)); } @Override public @Nullable Entry<K, V> floorEntry(K key) { return headMap(key, true).lastEntry(); } @Override public @Nullable K floorKey(K key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
@Override public @Nullable K higherKey(@ParametricNullness K key) { return fromMap().higherKey(key); } @Override public @Nullable Entry<K, V2> lastEntry() { return transformEntry(fromMap().lastEntry()); } @Override public @Nullable Entry<K, V2> lowerEntry(@ParametricNullness K key) { return transformEntry(fromMap().lowerEntry(key)); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
@Override public @Nullable K higherKey(@ParametricNullness K key) { return fromMap().higherKey(key); } @Override public @Nullable Entry<K, V2> lastEntry() { return transformEntry(fromMap().lastEntry()); } @Override public @Nullable Entry<K, V2> lowerEntry(@ParametricNullness K key) { return transformEntry(fromMap().lowerEntry(key)); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().higherKey(key); } } @Override public Map.@Nullable Entry<K, V> lastEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().lastEntry(), mutex); } } @Override public Map.@Nullable Entry<K, V> lowerEntry(K key) { synchronized (mutex) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().higherKey(key); } } @Override public Map.@Nullable Entry<K, V> lastEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().lastEntry(), mutex); } } @Override public Map.@Nullable Entry<K, V> lowerEntry(K key) { synchronized (mutex) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param map the sequenced map * @return the last entry, or null if the map is empty * @since Java 21 */ public static <K, V> Map.Entry<K, V> lastEntry(final SequencedMap<K, V> map) { return map.isEmpty() ? null : map.lastEntry(); } /** * Returns a reversed view of a sequenced map. * * @param <K> the key type * @param <V> the value typeRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
{ Entry<Integer, String> entry = unmod.firstEntry(); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } { Entry<Integer, String> entry = unmod.lastEntry(); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } { @SuppressWarnings("unchecked")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0)