/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SortedMapTestBase.java | 155 int key = ref.tailMap((ref.firstKey() + ref.lastKey()) / 2) in testRemove0() 156 .firstKey(); in testRemove0() 188 assertEquals(ref.firstKey(), map.firstKey()); in testFirstKey() 229 int firstKey = ref.firstKey(); in testSubMap() local 234 assertEquals(ref.get(firstKey), map.get(firstKey)); in testSubMap() 298 assertEquals(ref.firstKey(), map.firstKey()); in checkSubMap() 305 map.firstKey(); in checkSubMap()
|
D | RefSortedMap.java | 115 bsearch(SubMap.this.firstKey()) - 1 : in entrySet() 154 int firstIdx = bsearch(SubMap.this.firstKey()); in entrySet() 170 public K firstKey() { 172 K res = RefSortedMap.this.firstKey(); 271 return tailMap(firstKey()).entrySet(); 274 public K firstKey() { 283 return tailMap(firstKey()).keySet(); 299 return tailMap(firstKey()).values();
|
D | TreeMapTest.java | 116 reversedTreeMap.firstKey().equals(new Integer(2).toString())); in test_ConstructorLjava_util_Comparator() 148 anotherTreeMap.firstKey().equals(new Integer(2).toString())); in test_ConstructorLjava_util_SortedMap() 212 reversedTreeMap.firstKey().equals(new Integer(2).toString())); in test_comparator() 261 assertEquals("Returned incorrect first key", "0", tm.firstKey()); in test_firstKey() 362 sub.firstKey(); in test_headMapLjava_lang_Object() 390 sub.firstKey(); in test_headMapLjava_lang_Object() 439 String firstKey = (String) sm.firstKey(); in test_lastKey_after_subMap() local 447 sm = sm.subMap(firstKey, lastKey); in test_lastKey_after_subMap() 639 sub.firstKey(); in test_tailMapLjava_lang_Object() 667 sub.firstKey(); in test_tailMapLjava_lang_Object() [all …]
|
D | TreeMapExtendTest.java | 84 treeMap.firstKey(); in test_TreeMap_Constructor_Default() 135 assertEquals(tm.firstKey(), treeMap.firstKey()); in test_TreeMap_Constructor_Map() 156 assertEquals(subMap_default.firstKey(), treeMap.firstKey()); in test_TreeMap_Constructor_SortedMap() 349 assertEquals(firstKey1, subMap_default.firstKey()); in test_SubMap_firstKey() 350 assertEquals(firstKey2, subMap_startExcluded_endExcluded.firstKey()); in test_SubMap_firstKey() 351 assertEquals(firstKey2, subMap_startExcluded_endIncluded.firstKey()); in test_SubMap_firstKey() 352 assertEquals(firstKey1, subMap_startIncluded_endExcluded.firstKey()); in test_SubMap_firstKey() 353 assertEquals(firstKey1, subMap_startIncluded_endIncluded.firstKey()); in test_SubMap_firstKey() 356 subMap_default.subMap(firstKey1, firstKey1).firstKey(); in test_SubMap_firstKey() 364 .firstKey(); in test_SubMap_firstKey() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidTreeMapTest.java | 66 if (SPEW) System.out.println("tm.firstKey() = " + tm.firstKey()); in doTest() 70 assertEquals(minVal, tm.firstKey().intValue()); in doTest()
|
D | OldTreeMapTest.java | 99 reversedTreeMap.firstKey().equals(new Integer(2).toString())); in test_ConstructorLjava_util_Comparator() 143 anotherTreeMap.firstKey().equals(new Integer(2).toString())); in test_ConstructorLjava_util_SortedMap() 178 assertEquals("Returned incorrect first key", "0", tm.firstKey()); in test_firstKey() 181 tm.firstKey(); in test_firstKey()
|
D | CollectionsTest.java | 884 assertEquals(ceiling, floor == null ? map.firstKey() : map.higherKey(floor)); in check_unmodifiableNavigableMap_defaultMethods()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SortedMap.java | 216 K firstKey(); in firstKey() method
|
D | TreeSet.java | 394 return m.firstKey(); in first()
|
D | Collections.java | 1857 public K firstKey() { return sm.firstKey(); } 2835 public K firstKey() { 2836 synchronized (mutex) {return sm.firstKey();} 4029 public K firstKey() { return sm.firstKey(); } 4103 public K firstKey() { return nm.firstKey(); }
|
D | TreeMap.java | 290 public K firstKey() { in firstKey() method in TreeMap 1144 public E first() { return m.firstKey(); } in first() 1566 public final K firstKey() { in firstKey() method in TreeMap.NavigableSubMap 2057 public K firstKey() { throw new InternalError(); } in firstKey() method in TreeMap.SubMap
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSubMapTest.java | 145 assertEquals(one, map.firstKey()); in testFirstKey() 460 assertEquals(two, sm.firstKey()); 481 assertEquals(three, sm.firstKey()); 492 assertEquals(two, sm.firstKey()); 538 assertEquals(four, map.firstKey()); 581 assertEquals(four, ssm.firstKey()); 655 assertEquals(m1, map.firstKey()); 987 assertEquals(m2, sm.firstKey()); 1008 assertEquals(m3, sm.firstKey()); 1019 assertEquals(m2, sm.firstKey()); [all …]
|
D | ConcurrentSkipListSubMapTest.java | 146 assertEquals(one, map.firstKey()); in testFirstKey() 625 assertEquals(two, sm.firstKey()); 646 assertEquals(three, sm.firstKey()); 657 assertEquals(two, sm.firstKey()); 703 assertEquals(four, map.firstKey()); 746 assertEquals(four, ssm.firstKey()); 820 assertEquals(m1, map.firstKey()); 1299 assertEquals(m2, sm.firstKey()); 1320 assertEquals(m3, sm.firstKey()); 1331 assertEquals(m2, sm.firstKey()); [all …]
|
D | TreeMapTest.java | 126 assertEquals(one, map.firstKey()); in testFirstKey() 633 assertEquals(two, sm.firstKey()); 661 assertEquals(three, sm.firstKey()); 672 assertEquals(two, sm.firstKey()); 723 assertEquals(four, map.firstKey()); 776 assertEquals(four, ssm.firstKey()); 1062 assertEq(map.firstKey(), rs.first()); 1068 map.firstKey();
|
D | ConcurrentSkipListMapTest.java | 127 assertEquals(one, map.firstKey()); in testFirstKey() 828 assertEquals(two, sm.firstKey()); 856 assertEquals(three, sm.firstKey()); 867 assertEquals(two, sm.firstKey()); 918 assertEquals(four, map.firstKey()); 971 assertEquals(four, ssm.firstKey()); 1257 assertEq(map.firstKey(), rs.first()); 1263 map.firstKey();
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 365 ThreadLocalMap(ThreadLocal<?> firstKey, Object firstValue) { in ThreadLocalMap() argument 367 int i = firstKey.threadLocalHashCode & (INITIAL_CAPACITY - 1); in ThreadLocalMap() 368 table[i] = new Entry(firstKey, firstValue); in ThreadLocalMap()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | SortedMap.annotated.java | 41 @libcore.util.NullFromTypeParam public K firstKey(); in firstKey() method
|
D | TreeMap.annotated.java | 52 @libcore.util.NullFromTypeParam public K firstKey() { throw new RuntimeException("Stub!"); } in firstKey() method in TreeMap
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 115 ThreadLocalMap(java.lang.ThreadLocal<?> firstKey, java.lang.Object firstValue) { in ThreadLocalMap() argument
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 398 return m.firstKey(); in first()
|
D | ConcurrentSkipListMap.java | 2028 public K firstKey() { in firstKey() method in ConcurrentSkipListMap 2373 public K first() { return m.firstKey(); } in first() 3025 public K firstKey() { in firstKey() method in ConcurrentSkipListMap.SubMap
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 1046 public K firstKey() { in firstKey() method in Collections.CheckedNavigableMap 1325 public K firstKey() { in firstKey() method in Collections.CheckedSortedMap 2800 public K firstKey() { in firstKey() method in Collections.SynchronizedSortedMap 3593 public K firstKey() { in firstKey() method in Collections.UnmodifiableSortedMap
|