/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/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
|
D | ConcurrentSkipListSet.java | 429 return new ConcurrentSkipListSet<E>(m.headMap(toElement, inclusive)); in headSet()
|
D | ConcurrentSkipListMap.java | 2065 public ConcurrentNavigableMap<K,V> headMap(K toKey, in headMap() method in ConcurrentSkipListMap 2100 public ConcurrentNavigableMap<K,V> headMap(K toKey) { in headMap() method in ConcurrentSkipListMap 2101 return headMap(toKey, false); in headMap() 2415 return new KeySet<>(m.headMap(toElement, inclusive)); in headSet() 2962 public SubMap<K,V> headMap(K toKey, boolean inclusive) { in headMap() method in ConcurrentSkipListMap.SubMap 2978 public SubMap<K,V> headMap(K toKey) { in headMap() method in ConcurrentSkipListMap.SubMap 2979 return headMap(toKey, false); in headMap()
|
/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 | 799 map.headMap(key), in check_unmodifiableNavigableMap_defaultMethods() 805 map.headMap(key, false /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 811 map.headMap(key, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 820 map.headMap(lowerKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 856 int headSize = map.headMap(absentKey).size(); in check_unmodifiableNavigableMap_defaultMethods() 858 map.headMap(absentKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods() 998 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 | 363 NavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap() method 414 SortedMap<K,V> headMap(K toKey); in headMap() method
|
D | SortedMap.java | 181 SortedMap<K,V> headMap(K toKey); in headMap() method
|
D | TreeSet.java | 338 return new TreeSet<>(m.headMap(toElement, inclusive)); in headSet()
|
D | Collections.java | 1853 public SortedMap<K,V> headMap(K toKey) 1854 { return new UnmodifiableSortedMap<>(sm.headMap(toKey)); } 1997 public NavigableMap<K, V> headMap(K toKey, boolean inclusive) 1998 { return unmodifiableNavigableMap(nm.headMap(toKey, inclusive)); } 2824 public SortedMap<K,V> headMap(K toKey) { 2826 return new SynchronizedSortedMap<>(sm.headMap(toKey), mutex); 2970 public SortedMap<K,V> headMap(K toKey) { 2972 return new SynchronizedNavigableMap<>(nm.headMap(toKey, false), mutex); 2988 public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { 2991 nm.headMap(toKey, inclusive), mutex); [all …]
|
D | TreeMap.java | 927 public NavigableMap<K,V> headMap(K toKey, boolean inclusive) { in headMap() method in TreeMap 965 public SortedMap<K,V> headMap(K toKey) { in headMap() method in TreeMap 966 return headMap(toKey, false); in headMap() 1166 return new KeySet<>(m.headMap(toElement, inclusive)); in headSet() 1621 public final SortedMap<K,V> headMap(K toKey) { in headMap() method in TreeMap.NavigableSubMap 1622 return headMap(toKey, false); in headMap() 1879 public NavigableMap<K,V> headMap(K toKey, boolean inclusive) { in headMap() method in TreeMap.AscendingSubMap 1972 public NavigableMap<K,V> headMap(K toKey, boolean inclusive) { in headMap() method in TreeMap.DescendingSubMap 2059 public SortedMap<K,V> headMap(K toKey) { throw new InternalError(); } in headMap() method in TreeMap.SubMap
|
/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/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 1122 public java.util.NavigableMap<K, V> headMap(K toKey) { in headMap() method in Collections.CheckedNavigableMap 1135 public java.util.NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() method in Collections.CheckedNavigableMap 1337 public java.util.SortedMap<K, V> headMap(K toKey) { in headMap() method in Collections.CheckedSortedMap 2610 public java.util.SortedMap<K, V> headMap(K toKey) { in headMap() method in Collections.SynchronizedNavigableMap 2623 public java.util.NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() method in Collections.SynchronizedNavigableMap 2792 public java.util.SortedMap<K, V> headMap(K toKey) { in headMap() method in Collections.SynchronizedSortedMap 3395 public java.util.NavigableMap<K, V> headMap(K toKey, boolean inclusive) { in headMap() method in Collections.UnmodifiableNavigableMap 3585 public java.util.SortedMap<K, V> headMap(K toKey) { in headMap() method in Collections.UnmodifiableSortedMap
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeMapTest.java | 705 NavigableMap sm = map.headMap(four, false); 905 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
|
D | TreeSubMapTest.java | 520 SortedMap sm = map.headMap(four); 1047 SortedMap sm = map.headMap(m4);
|
D | ConcurrentSkipListMapTest.java | 900 NavigableMap sm = map.headMap(four, false); 1100 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
|
D | ConcurrentSkipListSubMapTest.java | 685 SortedMap sm = map.headMap(four); 1359 SortedMap sm = map.headMap(m4);
|