Home
last modified time | relevance | path

Searched refs:tailMap (Results 1 – 25 of 29) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentNavigableMap.java77 ConcurrentNavigableMap<K,V> tailMap(K fromKey, boolean inclusive); in tailMap() method
98 ConcurrentNavigableMap<K,V> tailMap(K fromKey); in tailMap() method
DConcurrentSkipListSet.java438 return new ConcurrentSkipListSet<E>(m.tailMap(fromElement, inclusive)); in tailSet()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapTest.java428 .tailMap("123").lastKey()); in test_lastKey()
502 assertEquals("Returned incorrect size", 553, tm.tailMap("500").size()); in test_size()
503 assertEquals("Returned incorrect size", 0, tm.tailMap("null").size()); in test_size()
504 assertEquals("Returned incorrect size", 1000, tm.tailMap("").size()); in test_size()
505 assertEquals("Returned incorrect size", 552, tm.tailMap("500a").size()); in test_size()
618 Map tail = tm.tailMap(objArray[900].toString()); in test_tailMapLjava_lang_Object()
635 sub = intMap.tailMap(size); in test_tailMapLjava_lang_Object()
646 SortedMap th = t.tailMap(null); in test_tailMapLjava_lang_Object()
663 sub = intMap.tailMap(size); in test_tailMapLjava_lang_Object()
780 vals = myTreeMap.tailMap(400).values(); in test_subMap_values_size()
[all …]
DTreeMapExtendTest.java1358 subMap_default.tailMap(startKey); in test_SubMap_tailMap()
1365 subMap_startExcluded_endExcluded.tailMap(startKey); in test_SubMap_tailMap()
1372 subMap_startExcluded_endIncluded.tailMap(startKey); in test_SubMap_tailMap()
1379 subMap_startIncluded_endExcluded.tailMap(startKey); in test_SubMap_tailMap()
1386 subMap_startIncluded_endIncluded.tailMap(startKey); in test_SubMap_tailMap()
1391 SortedMap tailMap = null; in test_SubMap_tailMap() local
1394 tailMap = subMap_default.tailMap(startKey); in test_SubMap_tailMap()
1395 assertEquals(9, tailMap.size()); in test_SubMap_tailMap()
1398 subMap_startExcluded_endExcluded.tailMap(startKey); in test_SubMap_tailMap()
1405 subMap_startExcluded_endIncluded.tailMap(startKey); in test_SubMap_tailMap()
[all …]
DRefSortedMap.java221 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();
DSortedMapTestBase.java155 int key = ref.tailMap((ref.firstKey() + ref.lastKey()) / 2) in testRemove0()
241 checkSubMap(ref.tailMap(key), map.tailMap(key)); in testTailMap()
243 checkSubMap(ref.tailMap(2 * N + 1), map.tailMap(2 * N + 1)); in testTailMap()
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java392 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive); in tailMap() method
425 SortedMap<K,V> tailMap(K fromKey); in tailMap() method
DSortedMap.java208 SortedMap<K,V> tailMap(K fromKey); in tailMap() method
DCollections.java1855 public SortedMap<K,V> tailMap(K fromKey)
1856 { return new UnmodifiableSortedMap<>(sm.tailMap(fromKey)); }
1999 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive)
2000 { return unmodifiableNavigableMap(nm.tailMap(fromKey, inclusive)); }
2829 public SortedMap<K,V> tailMap(K fromKey) {
2831 return new SynchronizedSortedMap<>(sm.tailMap(fromKey),mutex);
2975 public SortedMap<K,V> tailMap(K fromKey) {
2977 return new SynchronizedNavigableMap<>(nm.tailMap(fromKey, true),mutex);
2995 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
2998 nm.tailMap(fromKey, inclusive), mutex);
[all …]
DTreeSet.java350 return new TreeSet<>(m.tailMap(fromElement, inclusive)); in tailSet()
DTreeMap.java941 public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive) { in tailMap() method in TreeMap
976 public SortedMap<K,V> tailMap(K fromKey) { in tailMap() method in TreeMap
977 return tailMap(fromKey, true); in tailMap()
1169 return new KeySet<>(m.tailMap(fromElement, inclusive)); in tailSet()
1625 public final SortedMap<K,V> tailMap(K fromKey) { in tailMap() method in TreeMap.NavigableSubMap
1626 return tailMap(fromKey, true); in tailMap()
1891 public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive) { in tailMap() method in TreeMap.AscendingSubMap
1984 public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive) { in tailMap() method in TreeMap.DescendingSubMap
2060 public SortedMap<K,V> tailMap(K fromKey) { throw new InternalError(); } in tailMap() method in TreeMap.SubMap
/libcore/luni/src/test/java/libcore/java/util/
DOldTreeMapTest.java454 Map tail = tm.tailMap(objArray[900].toString()); in test_tailMapLjava_lang_Object()
462 SortedMap sort = tm.tailMap("99"); in test_tailMapLjava_lang_Object()
465 sort.tailMap("101"); in test_tailMapLjava_lang_Object()
472 tm.tailMap(this); in test_tailMapLjava_lang_Object()
479 tm.tailMap(null); in test_tailMapLjava_lang_Object()
DTreeMapTest.java561 new TreeMap<>().tailMap(0, true).headMap(0, false); in testBounds_openSubrangeOfClosedRange()
565 new TreeMap<>().headMap(0, false).tailMap(0, true); in testBounds_openSubrangeOfClosedRange()
599 return m.tailMap(boundValue, isBoundInclusive(bound)); in applyBound()
DCollectionsTest.java828 map.tailMap(key), in check_unmodifiableNavigableMap_defaultMethods()
834 map.tailMap(key, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods()
840 map.tailMap(key, false /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods()
849 map.tailMap(higherKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods()
864 map.tailMap(absentKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods()
1000 check_map_isChecked(map.tailMap(presentKey, true /* inclusive */), in check_navigableMap_isChecked()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java77 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> tailMap(@libcore.util.Nul… in tailMap() method
83 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> tailMap(@libcore.util.Nul… in tailMap() method
DSortedMap.annotated.java39 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> tailMap(@libcore.util.Nul… in tailMap() method
DTreeMap.annotated.java106 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> tailMap(@libcore.util.Nul… in tailMap() method in TreeMap
112 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> tailMap(@libcore.util.Nul… in tailMap() method in TreeMap
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentSkipListMapTest.java204 ConcurrentNavigableMap subMap = map.tailMap("C"); in testTailMap()
217 ConcurrentNavigableMap subMap = map.tailMap("F"); in testTailMapSingleElement()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubMapTest.java54 return map.tailMap(one, true); in map0()
546 SortedMap sm = map.tailMap(two);
580 SortedMap ssm = sm.tailMap(four);
1073 SortedMap sm = map.tailMap(m2);
1107 SortedMap ssm = sm.tailMap(m4);
DConcurrentSkipListSubMapTest.java71 return map.tailMap(one, true); in map0()
711 SortedMap sm = map.tailMap(two);
745 SortedMap ssm = sm.tailMap(four);
1385 SortedMap sm = map.tailMap(m2);
1419 SortedMap ssm = sm.tailMap(m4);
DTreeMapTest.java731 NavigableMap sm = map.tailMap(two, true);
775 NavigableMap ssm = sm.tailMap(four, true);
922 NavigableMap<Integer,Integer> tm = map.tailMap(midPoint,incl);
/libcore/ojluni/src/test/java/util/concurrent/tck/
DTreeSubMapTest.java77 return map.tailMap(one, true); in map0()
569 SortedMap sm = map.tailMap(two);
603 SortedMap ssm = sm.tailMap(four);
1096 SortedMap sm = map.tailMap(m2);
1130 SortedMap ssm = sm.tailMap(m4);
DConcurrentSkipListSubMapTest.java94 return map.tailMap(one, true); in map0()
734 SortedMap sm = map.tailMap(two);
768 SortedMap ssm = sm.tailMap(four);
1408 SortedMap sm = map.tailMap(m2);
1442 SortedMap ssm = sm.tailMap(m4);
DTreeMapTest.java754 NavigableMap sm = map.tailMap(two, true);
798 NavigableMap ssm = sm.tailMap(four, true);
945 NavigableMap<Integer,Integer> tm = map.tailMap(midPoint,incl);
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1126 public java.util.NavigableMap<K, V> tailMap(K fromKey) { in tailMap() method in Collections.CheckedNavigableMap
1139 public java.util.NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() method in Collections.CheckedNavigableMap
1341 public java.util.SortedMap<K, V> tailMap(K fromKey) { in tailMap() method in Collections.CheckedSortedMap
2614 public java.util.SortedMap<K, V> tailMap(K fromKey) { in tailMap() method in Collections.SynchronizedNavigableMap
2627 public java.util.NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() method in Collections.SynchronizedNavigableMap
2796 public java.util.SortedMap<K, V> tailMap(K fromKey) { in tailMap() method in Collections.SynchronizedSortedMap
3399 public java.util.NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { in tailMap() method in Collections.UnmodifiableNavigableMap
3589 public java.util.SortedMap<K, V> tailMap(K fromKey) { in tailMap() method in Collections.UnmodifiableSortedMap

12