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

12

/external/guava/guava/src/com/google/common/collect/
H A DForwardingSortedMap.java90 public SortedMap<K, V> tailMap(K fromKey) { method in class:ForwardingSortedMap
91 return delegate().tailMap(fromKey);
107 * firstKey()} method of {@link #tailMap}. If you override {@link #tailMap},
118 Object ceilingKey = self.tailMap(key).firstKey();
131 * iterator()} of the {@code entrySet()} of {@link #tailMap}. If you override
132 * {@link #tailMap}, you may wish to override {@link #remove} to forward
143 self.tailMap(key).entrySet().iterator();
162 * terms of {@link #headMap(Object)} and {@link #tailMap(Object)}. In some
169 return tailMap(fromKe
[all...]
H A DStandardRowSortedTable.java115 sortedBackingMap().tailMap(fromElement), factory).rowKeySet();
164 public SortedMap<R, Map<C, V>> tailMap(R fromKey) { method in class:StandardRowSortedTable.RowSortedMap
167 sortedBackingMap().tailMap(fromKey), factory).rowMap();
H A DSortedMaps.java369 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:SortedMaps.FilteredSortedMap
371 sortedMap().tailMap(fromKey), predicate);
H A DImmutableSortedMap.java687 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
694 * <p>The {@link SortedMap#tailMap} documentation states that a submap of a
701 public ImmutableSortedMap<K, V> tailMap(K fromKey) { method in class:ImmutableSortedMap
702 return tailMap(fromKey, true);
705 ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:ImmutableSortedMap
H A DTreeBasedTable.java219 @Override public SortedMap<C, V> tailMap(C fromKey) { method in class:TreeBasedTable.TreeRow
264 map = map.tailMap(lowerBound);
H A DAbstractMultimap.java986 return new SortedKeySet(sortedMap().tailMap(fromElement));
1168 * Usually the same as map, but smaller for the headMap(), tailMap(), or
1334 public SortedMap<K, Collection<V>> tailMap(K fromKey) { method in class:AbstractMultimap.SortedAsMap
1335 return new SortedAsMap(sortedMap().tailMap(fromKey));
H A DMaps.java1278 @Override public SortedMap<K, V2> tailMap(K fromKey) { method in class:Maps.TransformedEntriesSortedMap
1279 return transformEntries(fromMap().tailMap(fromKey), transformer);
1746 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:Maps.FilteredEntrySortedMap
1748 sortedMap().tailMap(fromKey), predicate);
H A DSynchronized.java1089 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:Synchronized.SynchronizedSortedMap
1091 return sortedMap(delegate().tailMap(fromKey), mutex);
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSafeTreeMap.java221 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:SafeTreeMap
222 return tailMap(fromKey, true);
225 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:SafeTreeMap
227 delegate.tailMap(checkValid(fromKey), inclusive));
H A DSortedMapInterfaceTest.java215 SortedMap<K, V> tailMap = map.tailMap(list.get(i).getKey());
216 assertEquals(expected, toList(tailMap.entrySet()));
271 SortedMap<K, V> tail = map.tailMap(secondEntry.getKey());
316 SortedMap<K, V> subMap = map.tailMap(key);
343 SortedMap<K, V> subMap = map.tailMap(key);
366 SortedMap<K, V> subMap = map.tailMap(key);
H A DNavigableMapTestSuiteBuilder.java166 return map.tailMap(firstExclusive, false);
172 return map.tailMap(firstInclusive);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DTreeMapTest.java437 .tailMap("123").lastKey());
538 assertEquals("Returned incorrect size", 553, tm.tailMap("500").size());
539 assertEquals("Returned incorrect size", 0, tm.tailMap("null").size());
540 assertEquals("Returned incorrect size", 1000, tm.tailMap("").size());
541 assertEquals("Returned incorrect size", 552, tm.tailMap("500a").size());
645 * @tests java.util.TreeMap#tailMap(java.lang.Object)
649 // java.util.TreeMap.tailMap(java.lang.Object)
650 Map tail = tm.tailMap(objArray[900].toString());
667 sub = intMap.tailMap(size);
678 SortedMap th = t.tailMap(nul
[all...]
H A DRefSortedMap.java221 public SortedMap<K, V> tailMap(K key) { method in class:RefSortedMap.SubMap
271 return tailMap(firstKey()).entrySet();
283 return tailMap(firstKey()).keySet();
294 public SortedMap<K, V> tailMap(K key) { method in class:RefSortedMap
299 return tailMap(firstKey()).values();
H A DSortedMapTestBase.java155 int key = ref.tailMap((ref.firstKey() + ref.lastKey()) / 2)
241 checkSubMap(ref.tailMap(key), map.tailMap(key));
243 checkSubMap(ref.tailMap(2 * N + 1), map.tailMap(2 * N + 1));
H A DTreeMapExtendTest.java1344 subMap_default.tailMap(startKey);
1351 subMap_startExcluded_endExcluded.tailMap(startKey);
1358 subMap_startExcluded_endIncluded.tailMap(startKey);
1365 subMap_startIncluded_endExcluded.tailMap(startKey);
1372 subMap_startIncluded_endIncluded.tailMap(startKey);
1377 SortedMap tailMap = null;
1380 tailMap = subMap_default.tailMap(startKey);
1381 assertEquals(9, tailMap.size());
1384 subMap_startExcluded_endExcluded.tailMap(startKe
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedMap.java173 = map.tailMap(key).entrySet().iterator().next();
295 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
298 public ImmutableSortedMap<K, V> tailMap(K fromKey) { method in class:ImmutableSortedMap
300 return new ImmutableSortedMap<K, V>(sortedDelegate.tailMap(fromKey));
303 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { method in class:ImmutableSortedMap
311 return tailMap(fromKey);
H A DMaps.java1249 @Override public SortedMap<K, V2> tailMap(K fromKey) { method in class:Maps.TransformedEntriesSortedMap
1250 return transformEntries(fromMap().tailMap(fromKey), transformer);
1717 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:Maps.FilteredEntrySortedMap
1719 sortedMap().tailMap(fromKey), predicate);
H A DSynchronized.java1076 @Override public SortedMap<K, V> tailMap(K fromKey) { method in class:Synchronized.SynchronizedSortedMap
1078 return sortedMap(delegate().tailMap(fromKey), mutex);
/external/guava/guava-tests/test/com/google/common/collect/
H A DSortedMapsTest.java119 ASSERT.that(filtered.tailMap(3).keySet()).hasContentsInOrder(4, 6);
148 ASSERT.that(filtered.tailMap(4).keySet()).hasContentsInOrder(4, 5, 7);
H A DTreeBasedTableTest.java297 = sortedTable.rowMap().tailMap("cat");
391 entrySet = row.tailMap(15).entrySet();
404 Set<Map.Entry<Integer, Character>> entrySet = row.tailMap(15).entrySet();
422 assertEquals(row.tailMap(15).size(), 1);
428 SortedMap<Integer, Character> subRow = row.tailMap(2);
H A DForwardingSortedMapTest.java237 forward().tailMap("last");
238 assertEquals("[tailMap(Object)]", getCalls());
H A DImmutableSortedMapTest.java150 .named("ImmutableSortedMap.tailMap.values")
272 .tailMap("b");
287 .tailMap("a", false);
783 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", true);
791 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", false);
H A DMapsTest.java1424 ASSERT.that(filtered.tailMap(3).keySet()).hasContentsInOrder(4, 6);
1445 ASSERT.that(filtered.tailMap(4).keySet()).hasContentsInOrder(4, 5, 7);
H A DTableCollectionTest.java1154 return table.rowMap().tailMap("b");
1158 return makeTable().rowMap().tailMap("b");
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSortedMapGenerators.java158 return builder.build().tailMap(0).values();

Completed in 426 milliseconds

12