/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentNavigableMap.java | 46 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive); 67 ConcurrentNavigableMap<K,V> tailMap(K fromKey);
|
/libcore/luni/src/main/java/java/util/ |
SortedMap.java | 121 public SortedMap<K,V> tailMap(K startKey);
|
NavigableMap.java | 31 * and {@code tailMap} differ from the like-named {@code 52 * {@link #tailMap(Object) tailMap(K)} 355 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive); 382 * <p>Equivalent to {@code tailMap(fromKey, true)}. 388 SortedMap<K,V> tailMap(K fromKey);
|
TreeMap.java | 716 public NavigableMap<K, V> tailMap(K from, boolean inclusive) { 721 public SortedMap<K, V> tailMap(K fromInclusive) { [all...] |
TreeSet.java | 400 return new TreeSet<E>(backingMap.tailMap(start, startInclusive));
|
/external/guava/guava/src/com/google/common/collect/ |
ForwardingSortedMap.java | 90 public SortedMap<K, V> tailMap(K fromKey) { 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(fromKey).headMap(toKey) [all...] |
StandardRowSortedTable.java | 115 sortedBackingMap().tailMap(fromElement), factory).rowKeySet(); 164 public SortedMap<R, Map<C, V>> tailMap(R fromKey) { 167 sortedBackingMap().tailMap(fromKey), factory).rowMap();
|
SortedMaps.java | 369 @Override public SortedMap<K, V> tailMap(K fromKey) { 371 sortedMap().tailMap(fromKey), predicate);
|
ImmutableSortedMap.java | 687 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) { 702 return tailMap(fromKey, true); 705 ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) {
|
TreeBasedTable.java | 219 @Override public SortedMap<C, V> tailMap(C fromKey) { 264 map = map.tailMap(lowerBound);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeMap.java | 221 @Override public SortedMap<K, V> tailMap(K fromKey) { 222 return tailMap(fromKey, true); 225 @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { 227 delegate.tailMap(checkValid(fromKey), inclusive));
|
SortedMapInterfaceTest.java | 215 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);
|
NavigableMapTestSuiteBuilder.java | 166 return map.tailMap(firstExclusive, false); 172 return map.tailMap(firstInclusive);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedMap.java | 173 = map.tailMap(key).entrySet().iterator().next(); 295 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive); 298 public ImmutableSortedMap<K, V> tailMap(K fromKey) { 300 return new ImmutableSortedMap<K, V>(sortedDelegate.tailMap(fromKey)); 303 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { 311 return tailMap(fromKey);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TreeMapTest.java | 426 .tailMap("123").lastKey()); 500 assertEquals("Returned incorrect size", 553, tm.tailMap("500").size()); 501 assertEquals("Returned incorrect size", 0, tm.tailMap("null").size()); 502 assertEquals("Returned incorrect size", 1000, tm.tailMap("").size()); 503 assertEquals("Returned incorrect size", 552, tm.tailMap("500a").size()); 609 * java.util.TreeMap#tailMap(java.lang.Object) 613 // java.util.TreeMap.tailMap(java.lang.Object) 614 Map tail = tm.tailMap(objArray[900].toString()); 631 sub = intMap.tailMap(size); 642 SortedMap th = t.tailMap(null) [all...] |
RefSortedMap.java | 221 public SortedMap<K, V> tailMap(K key) { 271 return tailMap(firstKey()).entrySet(); 283 return tailMap(firstKey()).keySet(); 294 public SortedMap<K, V> tailMap(K key) { 299 return tailMap(firstKey()).values();
|
SortedMapTestBase.java | 155 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));
|
TreeMapExtendTest.java | [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldTreeMapTest.java | 453 // java.util.TreeMap.tailMap(java.lang.Object) 454 Map tail = tm.tailMap(objArray[900].toString()); 462 SortedMap sort = tm.tailMap("99"); 465 sort.tailMap("101"); 472 tm.tailMap(this); 479 tm.tailMap(null);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SortedMapsTest.java | 119 ASSERT.that(filtered.tailMap(3).keySet()).hasContentsInOrder(4, 6); 148 ASSERT.that(filtered.tailMap(4).keySet()).hasContentsInOrder(4, 5, 7);
|
TreeBasedTableTest.java | 297 = 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);
|
ForwardingSortedMapTest.java | 237 forward().tailMap("last"); 238 assertEquals("[tailMap(Object)]", getCalls());
|
ImmutableSortedMapTest.java | 150 .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);
|
/frameworks/base/media/java/android/media/ |
SubtitleTrack.java | 474 tail = mCues.tailMap(timeMs + 1); 550 mRemainingCues.tailMap(mCurrentTimeMs + 1);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SortedMapGenerators.java | 158 return builder.build().tailMap(0).values();
|