/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();
|
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);
|
SortedMaps.java | 369 @Override public SortedMap<K, V> tailMap(K fromKey) { 371 sortedMap().tailMap(fromKey), predicate);
|
/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeMapTest.java | 437 .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(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...] |
/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/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/ |
ForwardingSortedMapTest.java | 237 forward().tailMap("last"); 238 assertEquals("[tailMap(Object)]", getCalls());
|
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);
|
SortedMapsTest.java | 119 ASSERT.that(filtered.tailMap(3).keySet()).hasContentsInOrder(4, 6); 148 ASSERT.that(filtered.tailMap(4).keySet()).hasContentsInOrder(4, 5, 7);
|
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);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentNavigableMap.java | 47 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive); 68 ConcurrentNavigableMap<K,V> tailMap(K fromKey);
|
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
java.util.NavigableMap.html | 101 <nobr>(<code>SortedMap<K, V></code>) <A HREF="../../../../reference/java/util/NavigableMap.html#tailMap(K)" target="_top"><code>tailMap</code></A>(<code>K</code>)</nobr>
|
/libcore/luni/src/main/java/java/util/ |
NavigableMap.java | 31 * and {@code tailMap} differ from the like-named {@code 52 * {@link #tailMap(Object) tailMap(K)} 361 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive); 388 * <p>Equivalent to {@code tailMap(fromKey, true)}. 394 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...] |
SortedMap.java | 124 public SortedMap<K,V> tailMap(K startKey);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SortedMapGenerators.java | 158 return builder.build().tailMap(0).values();
|
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.util.TreeMap.html | 207 <nobr>(<code>NavigableMap<K, V></code>) <A HREF="../../../../reference/java/util/TreeMap.html#tailMap(K, boolean)" target="_top"><code>tailMap</code></A>(<code>K,</nobr> boolean<nobr><nobr></code>)</nobr>
|