/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapTest.java | 294 Map head = tm.headMap("100"); in test_headMapLjava_lang_Object() 309 SortedMap<Integer, Double> smap = map.headMap(null); in test_headMapLjava_lang_Object() 346 assertEquals(0, treemap.headMap(null).size()); in test_headMapLjava_lang_Object() 349 SortedMap<String, String> headMap = treemap.headMap("100"); in test_headMapLjava_lang_Object() local 350 headMap.headMap("100"); in test_headMapLjava_lang_Object() 358 sub = intMap.headMap(-1); in test_headMapLjava_lang_Object() 369 SortedMap th = t.headMap(null); in test_headMapLjava_lang_Object() 386 sub = intMap.headMap(-1); in test_headMapLjava_lang_Object() 426 .headMap("999").lastKey()); in test_lastKey() 498 assertEquals("Returned incorrect size", 447, tm.headMap("500").size()); in test_size() [all …]
|
D | TreeMapExtendTest.java | 599 subMap_default.headMap(endKey); in test_SubMap_headMap() 606 subMap_startExcluded_endExcluded.headMap(endKey); in test_SubMap_headMap() 613 subMap_startExcluded_endIncluded.headMap(endKey); in test_SubMap_headMap() 620 subMap_startIncluded_endExcluded.headMap(endKey); in test_SubMap_headMap() 627 subMap_startIncluded_endIncluded.headMap(endKey); in test_SubMap_headMap() 633 SortedMap headMap = null; in test_SubMap_headMap() local 635 headMap = subMap_default.headMap(endKey); in test_SubMap_headMap() 636 assertEquals(0, headMap.size()); in test_SubMap_headMap() 639 headMap = subMap_startExcluded_endExcluded.headMap(endKey); in test_SubMap_headMap() 646 headMap = subMap_startExcluded_endIncluded.headMap(endKey); in test_SubMap_headMap() [all …]
|
D | SortedMapTestBase.java | 195 checkSubMap(ref.headMap(key), map.headMap(key)); in testHeadMap() 197 checkSubMap(ref.headMap(-1), map.headMap(-1)); in testHeadMap()
|
D | RefSortedMap.java | 188 public SortedMap<K, V> headMap(K key) { 278 public SortedMap<K, V> headMap(K key) {
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | EmptyNavigableMap.java | 183 () -> { NavigableMap ss = navigableMap.headMap(null, false); }, in testHeadMap() 187 () -> { NavigableMap ss = navigableMap.headMap(new Object(), true); }, in testHeadMap() 190 NavigableMap ss = navigableMap.headMap("1", false); in testHeadMap() 286 NavigableMap subMap = navigableMap.headMap(BigInteger.ONE, true); in testheadMapRanges() 289 subMap.headMap(BigInteger.ONE, true); in testheadMapRanges() 292 NavigableMap ns = subMap.headMap(BigInteger.ONE, false); in testheadMapRanges() 296 () -> ns.headMap(BigInteger.ONE, true), in testheadMapRanges() 300 subMap.headMap(isDescending(subMap) ? BigInteger.TEN : BigInteger.ZERO, true); in testheadMapRanges()
|
D | SyncSubMutexes.java | 92 assertSame(getSyncMapMutex(instance.headMap("Echo")), getSyncMapMutex(instance)); in testSortedMaps() 104 assertSame(getSyncMapMutex(instance.headMap("Echo")), getSyncMapMutex(instance)); in testNavigableMaps() 105 assertSame(getSyncMapMutex(instance.headMap("Echo", true)), getSyncMapMutex(instance)); in testNavigableMaps() 228 ….add(new Object[] {Collections.synchronizedSortedMap(new TreeMap<>(BASE_MAP)).headMap("Foxtrot")}); in makeSortedMaps() 241 …d(new Object[] {Collections.synchronizedNavigableMap(new TreeMap<>(BASE_MAP)).headMap("Foxtrot")}); in makeNavigableMaps() 242 … Object[] {Collections.synchronizedNavigableMap(new TreeMap<>(BASE_MAP)).headMap("Foxtrot", true)}… in makeNavigableMaps()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentNavigableMap.java | 70 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap() method 91 ConcurrentNavigableMap<K,V> headMap(K toKey); in headMap() method
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeMapTest.java | 213 Map head = tm.headMap("100"); in test_headMapLjava_lang_Object() 218 SortedMap sort = tm.headMap("100"); in test_headMapLjava_lang_Object() 220 sort.headMap("50"); in test_headMapLjava_lang_Object() 227 tm.headMap(this); in test_headMapLjava_lang_Object() 234 tm.headMap(null); in test_headMapLjava_lang_Object() 249 SortedMap<Integer, Double> smap = map.headMap(null); in test_headMapLjava_lang_Object() 286 assertEquals(0, treemap.headMap(null).size()); in test_headMapLjava_lang_Object()
|
D | CollectionsTest.java | 801 map.headMap(key), in check_unmodifiableNavigableMap_defaultMethods() 807 map.headMap(key, false /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 813 map.headMap(key, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 822 map.headMap(lowerKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 858 int headSize = map.headMap(absentKey).size(); in check_unmodifiableNavigableMap_defaultMethods() 860 map.headMap(absentKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 1000 check_map_isChecked(map.headMap(presentKey, true /* inclusive */), in check_navigableMap_isChecked()
|
D | TreeMapTest.java | 561 new TreeMap<>().tailMap(0, true).headMap(0, false); in testBounds_openSubrangeOfClosedRange() 565 new TreeMap<>().headMap(0, false).tailMap(0, true); in testBounds_openSubrangeOfClosedRange() 601 return m.headMap(boundValue, isBoundInclusive(bound)); in applyBound()
|
/libcore/ojluni/src/main/java/java/util/ |
D | NavigableMap.java | 369 NavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap() method 420 SortedMap<K,V> headMap(K toKey); in headMap() method
|
D | SortedMap.java | 181 SortedMap<K,V> headMap(K toKey); in headMap() method
|
D | ReverseOrderSortedMapView.java | 183 public SortedMap<K, V> headMap(K toKey) { 207 view = root.headMap(k); 459 public SortedMap<K, V> headMap(K to) {
|
D | TreeSet.java | 339 return new TreeSet<>(m.headMap(toElement, inclusive)); in headSet()
|
D | Collections.java | 2141 public SortedMap<K,V> headMap(K toKey) 2142 { return new UnmodifiableSortedMap<>(sm.headMap(toKey)); } 2293 public NavigableMap<K, V> headMap(K toKey, boolean inclusive) 2294 { return unmodifiableNavigableMap(nm.headMap(toKey, inclusive)); } 3149 public SortedMap<K,V> headMap(K toKey) { 3151 return new SynchronizedSortedMap<>(sm.headMap(toKey), mutex); 3298 public SortedMap<K,V> headMap(K toKey) { 3300 return new SynchronizedNavigableMap<>(nm.headMap(toKey, false), mutex); 3316 public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { 3319 nm.headMap(toKey, inclusive), mutex); [all …]
|
/libcore/ojluni/src/test/java/util/SequencedCollection/ |
D | SimpleSortedMap.java | 121 public SortedMap<K,V> headMap(K toKey) { in headMap() method in SimpleSortedMap 122 return map.headMap(toKey); in headMap()
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | NavigableMap.annotated.java | 74 public java.util.NavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap() method 80 public java.util.SortedMap<K,V> headMap(K toKey); in headMap() method
|
D | SortedMap.annotated.java | 36 public java.util.SortedMap<K,V> headMap(K toKey); in headMap() method
|
D | TreeMap.annotated.java | 119 public java.util.NavigableMap<K,V> headMap(K toKey, boolean inclusive) { throw new RuntimeException… in headMap() method in TreeMap 125 public java.util.SortedMap<K,V> headMap(K toKey) { throw new RuntimeException("Stub!"); } in headMap() method in TreeMap
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | NavigableMap.annotated.java | 75 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> headMap(@libcore.util.Nul… in headMap() method 81 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> headMap(@libcore.util.Nul… in headMap() method
|
D | SortedMap.annotated.java | 37 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> headMap(@libcore.util.Nul… in headMap() method
|
D | TreeMap.annotated.java | 104 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> headMap(@libcore.util.Nul… in headMap() method in TreeMap 110 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> headMap(@libcore.util.Nul… in headMap() method in TreeMap
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ConcurrentSkipListMapTest.java | 178 ConcurrentNavigableMap subMap = map.headMap("D"); in testHeadMap() 191 ConcurrentNavigableMap subMap = map.headMap("A"); in testHeadMapEmpty()
|
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/ |
D | ConcurrentSkipListMap.annotated.java | 114 public java.util.concurrent.ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive) { throw… in headMap() method in ConcurrentSkipListMap 120 public java.util.concurrent.ConcurrentNavigableMap<K,V> headMap(K toKey) { throw new RuntimeExcepti… in headMap() method in ConcurrentSkipListMap
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | BiggernYours.java | 96 compareMaps(m1.headMap(Integer.MAX_VALUE), in compareNavigableMaps() 97 m2.headMap(Integer.MAX_VALUE)); in compareNavigableMaps()
|