- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for lowerEntry (0.28 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
public void testLower() { resetWithHole(); assertEquals(null, navigableMap.lowerEntry(a.getKey())); assertEquals(null, navigableMap.lowerKey(a.getKey())); assertEquals(a, navigableMap.lowerEntry(b.getKey())); assertEquals(a.getKey(), navigableMap.lowerKey(b.getKey())); assertEquals(a, navigableMap.lowerEntry(c.getKey())); assertEquals(a.getKey(), navigableMap.lowerKey(c.getKey())); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
@Override @CheckForNull public 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. */ @CheckForNull
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 15 18:11:44 GMT 2023 - 14.3K bytes - Viewed (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().
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
@Override @CheckForNull public 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. */ @CheckForNull
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jun 15 18:11:44 GMT 2023 - 14.5K bytes - Viewed (0) -
android/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); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
public void testLower() { resetWithHole(); assertEquals(null, navigableMap.lowerEntry(a.getKey())); assertEquals(null, navigableMap.lowerKey(a.getKey())); assertEquals(a, navigableMap.lowerEntry(b.getKey())); assertEquals(a.getKey(), navigableMap.lowerKey(b.getKey())); assertEquals(a, navigableMap.lowerEntry(c.getKey())); assertEquals(a.getKey(), navigableMap.lowerKey(c.getKey())); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.9K bytes - Viewed (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);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 21.9K bytes - Viewed (0) -
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().
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 9.5K bytes - Viewed (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 {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 32.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
if (entry == null) { throw new NoSuchElementException(); } else { return entry.getKey(); } } @Override @CheckForNull public Entry<K, V> lowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @Override @CheckForNull public Entry<K, V> floorEntry(@ParametricNullness K key) { return headMap(key, true).lastEntry();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jun 15 18:11:44 GMT 2023 - 4.5K bytes - Viewed (0)