Home
last modified time | relevance | path

Searched refs:floorEntry (Results 1 – 14 of 14) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DTreeRangeSet.java99 Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(Cut.belowValue(value)); in rangeContaining() local
100 if (floorEntry != null && floorEntry.getValue().contains(value)) { in rangeContaining()
101 return floorEntry.getValue(); in rangeContaining()
111 Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound); in encloses() local
112 return floorEntry != null && floorEntry.getValue().encloses(range); in encloses()
118 Entry<Cut<C>, Range<C>> floorEntry = rangesByLowerBound.floorEntry(range.lowerBound); in rangeEnclosing() local
119 return (floorEntry != null && floorEntry.getValue().encloses(range)) in rangeEnclosing()
120 ? floorEntry.getValue() in rangeEnclosing()
165 Entry<Cut<C>, Range<C>> entryBelowUB = rangesByLowerBound.floorEntry(ubToAdd); in add()
209 Entry<Cut<C>, Range<C>> entryBelowUB = rangesByLowerBound.floorEntry(rangeToRemove.upperBound); in remove()
[all …]
DForwardingNavigableMap.java90 public Entry<K, V> floorEntry(K key) { in floorEntry() method in ForwardingNavigableMap
91 return delegate().floorEntry(key); in floorEntry()
114 return keyOrNull(floorEntry(key)); in standardFloorKey()
DAbstractNavigableMap.java93 public Entry<K, V> floorEntry(K key) { in floorEntry() method in AbstractNavigableMap
116 return Maps.keyOrNull(floorEntry(key)); in floorKey()
DTreeRangeMap.java116 entriesByLowerBound.floorEntry(Cut.belowValue(key)); in getEntry()
348 entriesByLowerBound.floorEntry(subRange.lowerBound);
455 entriesByLowerBound.floorEntry(r.lowerBound);
DImmutableSortedMap.java587 public Entry<K, V> floorEntry(K key) { in floorEntry() method in ImmutableSortedMap
593 return keyOrNull(floorEntry(key)); in floorKey()
DMaps.java2003 @Override public Entry<K, V2> floorEntry(K key) {
2004 return transformEntry(fromMap().floorEntry(key));
3135 public Entry<K, V> floorEntry(K key) {
3136 return unmodifiableOrNull(delegate.floorEntry(key));
3846 public Entry<K, V> floorEntry(K key) {
3857 return forward().floorEntry(key);
DAbstractMapBasedMultimap.java1442 public Entry<K, Collection<V>> floorEntry(K key) {
1443 Entry<K, Collection<V>> entry = sortedMap().floorEntry(key);
DSynchronized.java1405 @Override public Entry<K, V> floorEntry(K key) {
1407 return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DNavigableMapNavigationTester.java93 assertNull(navigableMap.floorEntry(samples.e0.getKey())); in testEmptyMapNearby()
128 assertEquals(a, navigableMap.floorEntry(samples.e0.getKey())); in testSingletonMapNearby()
184 assertEquals(a, navigableMap.floorEntry(a.getKey())); in testFloor()
186 assertEquals(a, navigableMap.floorEntry(b.getKey())); in testFloor()
188 assertEquals(c, navigableMap.floorEntry(c.getKey())); in testFloor()
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedNavigableMapTest.java132 @Override public Entry<K, V> floorEntry(K key) { in floorEntry() method in SynchronizedNavigableMapTest.TestMap
134 return delegate().floorEntry(key); in floorEntry()
296 create().floorEntry("a"); in testFloorEntry()
DForwardingNavigableMapTest.java131 public Entry<K, V> floorEntry(K key) { in floorEntry() method
299 forward().floorEntry("key");
DTreeRangeSetTest.java113 assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key)); in testNavigationAgainstExpected()
DMapsTest.java1888 entry = unmod.floorEntry(2);
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java164 @Override public Entry<K, V> floorEntry(K key) {
165 return delegate.floorEntry(checkValid(key));