/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 | 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/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 | 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 | 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/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/src/main/java/java/util/concurrent/ |
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/jsr166-tests/src/test/java/jsr166/ |
D | TreeSubMapTest.java | 520 SortedMap sm = map.headMap(four); 1047 SortedMap sm = map.headMap(m4);
|
D | TreeMapTest.java | 705 NavigableMap sm = map.headMap(four, false); 905 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
|
D | ConcurrentSkipListSubMapTest.java | 685 SortedMap sm = map.headMap(four); 1359 SortedMap sm = map.headMap(m4);
|
D | ConcurrentSkipListMapTest.java | 900 NavigableMap sm = map.headMap(four, false); 1100 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TreeMapTest.java | 728 NavigableMap sm = map.headMap(four, false); 928 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
|
D | TreeSubMapTest.java | 543 SortedMap sm = map.headMap(four); 1070 SortedMap sm = map.headMap(m4);
|
D | ConcurrentSkipListMapTest.java | 923 NavigableMap sm = map.headMap(four, false); 1123 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
|
D | ConcurrentSkipListSubMapTest.java | 708 SortedMap sm = map.headMap(four); 1382 SortedMap sm = map.headMap(m4);
|