- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for higherEntry (0.11 sec)
-
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
} @Override @CheckForNull public Entry<K, V> ceilingEntry(@ParametricNullness K key) { return tailMap(key, true).firstEntry(); } @Override @CheckForNull public Entry<K, V> higherEntry(@ParametricNullness K key) { return tailMap(key, false).firstEntry(); } @Override @CheckForNull public K lowerKey(@ParametricNullness K key) { return Maps.keyOrNull(lowerEntry(key)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 18:11:44 UTC 2023 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
public void testHigher() { resetWithHole(); assertEquals(c, navigableMap.higherEntry(a.getKey())); assertEquals(c.getKey(), navigableMap.higherKey(a.getKey())); assertEquals(c, navigableMap.higherEntry(b.getKey())); assertEquals(c.getKey(), navigableMap.higherKey(b.getKey())); assertEquals(null, navigableMap.higherEntry(c.getKey())); assertEquals(null, navigableMap.higherKey(c.getKey())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
} @Override @CheckForNull public Entry<K, V> ceilingEntry(@ParametricNullness K key) { return tailMap(key, true).firstEntry(); } @Override @CheckForNull public Entry<K, V> higherEntry(@ParametricNullness K key) { return tailMap(key, false).firstEntry(); } @Override @CheckForNull public K lowerKey(@ParametricNullness K key) { return Maps.keyOrNull(lowerEntry(key)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 18:11:44 UTC 2023 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
@Override public SortedMap<K, V> headMap(K toKey) { return headMap(toKey, false); } @Override public @Nullable Entry<K, V> higherEntry(K key) { assertTrue(Thread.holdsLock(mutex)); return delegate().higherEntry(key); } @Override public @Nullable K higherKey(K key) { assertTrue(Thread.holdsLock(mutex)); return delegate().higherKey(key); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 12.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive)); } @Override public @Nullable Entry<K, V> higherEntry(K key) { return delegate.higherEntry(checkValid(key)); } @Override public @Nullable K higherKey(K key) { return delegate.higherKey(checkValid(key)); } @Override public boolean isEmpty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive)); } @Override public @Nullable Entry<K, V> higherEntry(K key) { return delegate.higherEntry(checkValid(key)); } @Override public @Nullable K higherKey(K key) { return delegate.higherKey(checkValid(key)); } @Override public boolean isEmpty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
coalescedRange = coalesce(coalescedRange, value, lowerEntry); Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry = entriesByLowerBound.floorEntry(range.upperBound); coalescedRange = coalesce(coalescedRange, value, higherEntry); return coalescedRange; } /** Returns the range that spans the given range and entry, if the entry can be coalesced. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return standardCeilingEntry(key); } @Override public @Nullable K ceilingKey(K key) { return standardCeilingKey(key); } @Override public @Nullable Entry<K, V> higherEntry(K key) { return standardHigherEntry(key); } @Override public @Nullable K higherKey(K key) { return standardHigherKey(key); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key)); assertEquals(expected.ceilingEntry(key), navigableMap.ceilingEntry(key)); assertEquals(expected.higherEntry(key), navigableMap.higherEntry(key)); for (boolean inclusive : new boolean[] {false, true}) { assertThat(navigableMap.headMap(key, inclusive).entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 24.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
coalescedRange = coalesce(coalescedRange, value, lowerEntry); Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry = entriesByLowerBound.floorEntry(range.upperBound); coalescedRange = coalesce(coalescedRange, value, higherEntry); return coalescedRange; } /** Returns the range that spans the given range and entry, if the entry can be coalesced. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.7K bytes - Viewed (0)