Searched refs:tailMap (Results 1 - 25 of 59) sorted by relevance

123

/external/guava/guava/src/com/google/common/collect/
H A DForwardingSortedMap.java91 public SortedMap<K, V> tailMap(K fromKey) { method in class:ForwardingSortedMap
92 return delegate().tailMap(fromKey);
123 * firstKey()} method of {@link #tailMap}. If you override {@link #tailMap},
134 Object ceilingKey = self.tailMap(key).firstKey();
147 * terms of {@link #headMap(Object)} and {@link #tailMap(Object)}. In some
155 return tailMap(fromKey).headMap(toKey);
H A DAbstractNavigableMap.java100 return tailMap(key, true).firstEntry();
106 return tailMap(key, false).firstEntry();
144 public SortedMap<K, V> tailMap(K fromKey) { method in class:AbstractNavigableMap
145 return tailMap(fromKey, true);
H A DForwardingNavigableMap.java124 * {@link #tailMap(Object, boolean)}. If you override {@code tailMap}, you may wish to override
128 return tailMap(key, true).firstEntry();
152 * {@link #tailMap(Object, boolean)}. If you override {@code tailMap}, you may wish to override
156 return tailMap(key, false).firstEntry();
377 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:ForwardingNavigableMap
378 return delegate().tailMap(fromKey, inclusive);
391 * A sensible definition of {@link #tailMap(Object)} in terms of
392 * {@link #tailMap(Objec
[all...]
H A DStandardRowSortedTable.java133 public SortedMap<R, Map<C, V>> tailMap(R fromKey) { method in class:StandardRowSortedTable.RowSortedMap
136 sortedBackingMap().tailMap(fromKey), factory).rowMap();
H A DEmptyImmutableSortedMap.java103 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:EmptyImmutableSortedMap
H A DImmutableSortedMap.java542 return headMap(toKey, toInclusive).tailMap(fromKey, fromInclusive);
549 * <p>The {@link SortedMap#tailMap} documentation states that a submap of a
556 public ImmutableSortedMap<K, V> tailMap(K fromKey) { method in class:ImmutableSortedMap
557 return tailMap(fromKey, true);
565 * <p>The {@link SortedMap#tailMap} documentation states that a submap of a
574 public abstract ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive); method in class:ImmutableSortedMap
598 return tailMap(key, true).firstEntry();
608 return tailMap(key, false).firstEntry();
H A DRegularImmutableSortedMap.java118 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:RegularImmutableSortedMap
H A DTreeRangeSet.java246 * upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper
284 public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) { method in class:TreeRangeSet.RangesByUpperBound
333 backingItr = rangesByLowerBound.tailMap(lowerEntry.getKey(), true).values().iterator();
335 backingItr = rangesByLowerBound.tailMap(upperBoundWindow.lowerEndpoint(), true)
405 * complementLowerBoundWindow represents the headMap/subMap/tailMap view of the entire
445 public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) { method in class:TreeRangeSet.ComplementRangesByLowerBound
467 positiveRanges = positiveRangesByUpperBound.tailMap(
576 // tailMap respects the current window
577 Entry<Cut<C>, Range<C>> firstEntry = tailMap(cut, true).firstEntry();
623 * lowerBoundWindow is the headMap/subMap/tailMap vie
667 public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) { method in class:TreeRangeSet.SubRangeSetRangesByLowerBound
[all...]
H A DAbstractMapBasedMultimap.java1018 return new SortedKeySet(sortedMap().tailMap(fromElement));
1102 return new NavigableKeySet(sortedMap().tailMap(fromElement, inclusive));
1232 * Usually the same as map, but smaller for the headMap(), tailMap(), or
1399 public SortedMap<K, Collection<V>> tailMap(K fromKey) { method in class:AbstractMapBasedMultimap.SortedAsMap
1400 return new SortedAsMap(sortedMap().tailMap(fromKey));
1554 public NavigableMap<K, Collection<V>> tailMap(K fromKey) { method in class:AbstractMapBasedMultimap.NavigableAsMap
1555 return tailMap(fromKey, true);
1559 public NavigableMap<K, Collection<V>> tailMap(K fromKey, boolean inclusive) { method in class:AbstractMapBasedMultimap.NavigableAsMap
1560 return new NavigableAsMap(sortedMap().tailMap(fromKey, inclusive));
H A DTreeBasedTable.java227 @Override public SortedMap<C, V> tailMap(C fromKey) { method in class:TreeBasedTable.TreeRow
272 map = map.tailMap(lowerBound);
H A DMaps.java874 public SortedMap<K, V> tailMap(K fromKey) { method in class:Maps.SortedAsMapView
917 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:Maps.NavigableAsMapView
1969 @Override public SortedMap<K, V2> tailMap(K fromKey) { method in class:Maps.TransformedEntriesSortedMap
1970 return transformEntries(fromMap().tailMap(fromKey), transformer);
2063 @Override public NavigableMap<K, V2> tailMap(K fromKey) { method in class:Maps.TransformedEntriesNavigableMap
2064 return tailMap(fromKey, true);
2067 @Override public NavigableMap<K, V2> tailMap(K fromKey, boolean inclusive) { method in class:Maps.TransformedEntriesNavigableMap
2069 fromMap().tailMap(fromKey, inclusive), transformer);
2820 return (SortedSet<K>) tailMap(fromElement).keySet();
2864 @Override public SortedMap<K, V> tailMap( method in class:Maps.FilteredEntrySortedMap
3013 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:Maps.FilteredEntryNavigableMap
3220 public SortedMap<K, V> tailMap(K fromKey) { method in class:Maps.UnmodifiableNavigableMap
3241 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:Maps.UnmodifiableNavigableMap
3955 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:Maps.DescendingMap
3970 public SortedMap<K, V> tailMap(K fromKey) { method in class:Maps.DescendingMap
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSortedMapInterfaceTest.java72 SortedMap<K, V> subMap = map.tailMap(key);
99 SortedMap<K, V> subMap = map.tailMap(key);
122 SortedMap<K, V> subMap = map.tailMap(key);
H A DSafeTreeMap.java258 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:SafeTreeMap
259 return tailMap(fromKey, true);
262 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:SafeTreeMap
264 delegate.tailMap(checkValid(fromKey), inclusive));
H A DNavigableMapTestSuiteBuilder.java93 return map.tailMap(firstExclusive, false);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedMap.java163 = map.tailMap(key).entrySet().iterator().next();
285 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
288 public ImmutableSortedMap<K, V> tailMap(K fromKey) { method in class:ImmutableSortedMap
290 return newView(sortedDelegate.tailMap(fromKey));
293 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:ImmutableSortedMap
301 return tailMap(fromKey);
/external/guava/guava-tests/test/com/google/common/collect/
H A DSynchronizedNavigableMapTest.java201 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:SynchronizedNavigableMapTest.TestMap
203 return delegate().tailMap(fromKey, inclusive);
206 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:SynchronizedNavigableMapTest.TestMap
207 return tailMap(fromKey, true);
377 SortedMap<String, Integer> subMap = map.tailMap("a");
384 NavigableMap<String, Integer> subMap = map.tailMap("a", true);
H A DTreeBasedTableTest.java302 = sortedTable.rowMap().tailMap("cat");
396 entrySet = row.tailMap(15).entrySet();
409 Set<Map.Entry<Integer, Character>> entrySet = row.tailMap(15).entrySet();
427 assertEquals(row.tailMap(15).size(), 1);
433 SortedMap<Integer, Character> subRow = row.tailMap(2);
H A DMapsTest.java691 assertThat(map.tailMap("onea").entrySet()).has().exactly(
745 map.tailMap("a").keySet().add("a");
755 map.headMap("r").tailMap("m").keySet().add("a");
787 assertThat(map.tailMap("onea").entrySet()).has().exactly(
795 map.tailMap("three", true));
817 map.descendingMap().tailMap("three", true));
818 assertThat(map.tailMap("three", false).entrySet()).has().item(
820 assertNull(map.tailMap("three", true).lowerEntry("three"));
860 NavigableMap<String, Integer> tailMap = map.tailMap("
[all...]
H A DForwardingNavigableMapTest.java211 public SortedMap<K, V> tailMap(K fromKey) { method in class:ForwardingNavigableMapTest.StandardImplForwardingNavigableMap
374 forward().tailMap("a", false);
375 assertEquals("[tailMap(Object,boolean)]", getCalls());
H A DForwardingSortedMapTest.java213 forward().tailMap("last");
214 assertEquals("[tailMap(Object)]", getCalls());
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DTreeBasedTableTest.java259 = sortedTable.rowMap().tailMap("cat");
353 entrySet = row.tailMap(15).entrySet();
366 Set<Map.Entry<Integer, Character>> entrySet = row.tailMap(15).entrySet();
384 assertEquals(row.tailMap(15).size(), 1);
390 SortedMap<Integer, Character> subRow = row.tailMap(2);
H A DImmutableSortedMapTest.java146 .tailMap("b");
161 .tailMap("a", false);
629 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", true);
637 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", false);
H A DTreeMultimapNaturalTest.java198 asMap.tailMap("g"));
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DSortedMapNavigationTester.java112 assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey()));
130 assertThat(navigableMap.tailMap(entries.get(i).getKey()).entrySet())
H A DNavigableMapNavigationTester.java259 assertFalse(navigableMap.tailMap(a.getKey(), false).containsKey(a.getKey()));
264 assertTrue(navigableMap.tailMap(a.getKey(), true).containsKey(a.getKey()));

Completed in 432 milliseconds

123