- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for higherEntry (0.18 sec)
-
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())); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.9K bytes - Viewed (0) -
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())); }
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) -
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() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 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() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 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. */
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) -
android/guava/src/com/google/common/collect/Synchronized.java
public SortedMap<K, V> headMap(K toKey) { return headMap(toKey, false); } @Override @CheckForNull public Map.Entry<K, V> higherEntry(K key) { synchronized (mutex) { return nullableSynchronizedEntry(delegate().higherEntry(key), mutex); } } @Override @CheckForNull public K higherKey(K key) { synchronized (mutex) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 53.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return transformEntries(fromMap().headMap(toKey, inclusive), transformer); } @Override @CheckForNull public Entry<K, V2> higherEntry(@ParametricNullness K key) { return transformEntry(fromMap().higherEntry(key)); } @Override @CheckForNull public K higherKey(@ParametricNullness K key) { return fromMap().higherKey(key); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
return keyOrNull(ceilingEntry(key)); } @Override @CheckForNull public Entry<K, V> higherEntry(K key) { return tailMap(key, false).firstEntry(); } @Override @CheckForNull public K higherKey(K key) { return keyOrNull(higherEntry(key)); } @Override @CheckForNull public Entry<K, V> firstEntry() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
return keyOrNull(ceilingEntry(key)); } @Override @CheckForNull public Entry<K, V> higherEntry(K key) { return tailMap(key, false).firstEntry(); } @Override @CheckForNull public K higherKey(K key) { return keyOrNull(higherEntry(key)); } @Override @CheckForNull public Entry<K, V> firstEntry() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals("three", map.higherKey("r")); assertEquals("three", map.ceilingKey("r")); assertEquals("one", map.ceilingKey("one")); assertEquals(mapEntry("three", 5), map.higherEntry("one")); assertEquals(mapEntry("one", 3), map.ceilingEntry("one")); assertEquals("one", map.lowerKey("three")); assertEquals("one", map.lowerKey("r")); assertEquals("one", map.floorKey("r"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0)