- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for lowerEntry (0.08 seconds)
-
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
@Override public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) { return delegate().lowerEntry(key); } /** * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code * lowerEntry} to forward to this implementation. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
@Override public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) { return delegate().lowerEntry(key); } /** * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code * lowerEntry} to forward to this implementation. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
Entry<K, V> entry = lastEntry(); if (entry == null) { throw new NoSuchElementException(); } else { return entry.getKey(); } } @Override public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @Override public @Nullable Entry<K, V> floorEntry(@ParametricNullness K key) { return headMap(key, true).lastEntry(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
Entry<K, V> entry = lastEntry(); if (entry == null) { throw new NoSuchElementException(); } else { return entry.getKey(); } } @Override public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @Override public @Nullable Entry<K, V> floorEntry(@ParametricNullness K key) { return headMap(key, true).lastEntry(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SUPPORTS_ITERATOR_REMOVE, MapFeature.GENERAL_PURPOSE) /* * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately * produces immutable entries. * * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that * supports setValue().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/src/com/google/common/collect/TreeRangeMap.java
private Range<K> coalescedRange(Range<K> range, V value) { Range<K> coalescedRange = range; Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry = entriesByLowerBound.lowerEntry(range.lowerBound); coalescedRange = coalesce(coalescedRange, value, lowerEntry); Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry = entriesByLowerBound.floorEntry(range.upperBound);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate().lastEntry(); } @Override public @Nullable Entry<K, V> lowerEntry(K key) { assertTrue(Thread.holdsLock(mutex)); return delegate().lowerEntry(key); } @Override public @Nullable K lowerKey(K key) { assertTrue(Thread.holdsLock(mutex)); return delegate().lowerKey(key); }
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) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
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/src/com/google/common/collect/TreeRangeSet.java
} else { Entry<Cut<C>, Range<C>> lowerEntry = rangesByLowerBound.lowerEntry(upperBoundWindow.lowerEndpoint()); if (lowerEntry == null) { backingItr = rangesByLowerBound.values().iterator(); } else if (upperBoundWindow.lowerBound.isLessThan(lowerEntry.getValue().upperBound)) { backingItr = rangesByLowerBound.tailMap(lowerEntry.getKey(), true).values().iterator(); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 32.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
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)