/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() 201 assertEquals(ref.lastKey(), map.lastKey()); in testLastKey() 299 assertEquals(ref.lastKey(), map.lastKey()); in checkSubMap() 311 map.lastKey(); in checkSubMap() 365 map2.remove(map2.lastKey()); in testClone()
|
D | RefSortedMap.java | 153 int lastIdx = bsearch(SubMap.this.lastKey()); in entrySet() 195 public K lastKey() { 197 K res = RefSortedMap.this.lastKey(); 286 public K lastKey() {
|
D | TreeMapTest.java | 118 reversedTreeMap.lastKey().equals(Integer.valueOf(1).toString())); in test_ConstructorLjava_util_Comparator() 150 anotherTreeMap.lastKey().equals(Integer.valueOf(1).toString())); in test_ConstructorLjava_util_SortedMap() 214 reversedTreeMap.lastKey().equals(Integer.valueOf(1).toString())); in test_comparator() 376 sub.lastKey(); in test_headMapLjava_lang_Object() 396 sub.lastKey(); in test_headMapLjava_lang_Object() 422 assertTrue("Returned incorrect last key", tm.lastKey().equals( in test_lastKey() 424 assertNotSame(objArray[objArray.length - 1].toString(), tm.lastKey()); in test_lastKey() 426 .headMap("999").lastKey()); in test_lastKey() 428 .tailMap("123").lastKey()); in test_lastKey() 430 "999").lastKey()); in test_lastKey() [all …]
|
D | TreeMapExtendTest.java | 92 treeMap.lastKey(); in test_TreeMap_Constructor_Default() 137 assertEquals(tm.lastKey(), treeMap.lastKey()); in test_TreeMap_Constructor_Map() 157 assertEquals(subMap_default.lastKey(), treeMap.lastKey()); in test_TreeMap_Constructor_SortedMap() 449 assertEquals(lastKey1, subMap_default.lastKey()); in test_SubMap_lastKey() 450 assertEquals(lastKey1, subMap_startExcluded_endExcluded.lastKey()); in test_SubMap_lastKey() 451 assertEquals(lastKey2, subMap_startExcluded_endIncluded.lastKey()); in test_SubMap_lastKey() 452 assertEquals(lastKey1, subMap_startIncluded_endExcluded.lastKey()); in test_SubMap_lastKey() 453 assertEquals(lastKey2, subMap_startIncluded_endIncluded.lastKey()); in test_SubMap_lastKey() 456 subMap_default.subMap(lastKey1, lastKey1).lastKey(); in test_SubMap_lastKey() 464 .lastKey(); in test_SubMap_lastKey() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeMapTest.java | 101 reversedTreeMap.lastKey().equals(Integer.valueOf(1).toString())); in test_ConstructorLjava_util_Comparator() 145 anotherTreeMap.lastKey().equals(Integer.valueOf(1).toString())); in test_ConstructorLjava_util_SortedMap() 291 assertTrue("Returned incorrect last key", tm.lastKey().equals( in test_lastKey() 295 tm.lastKey(); in test_lastKey() 425 assertEquals("3", map.lastKey()); in test_subMapLjava_lang_ObjectLjava_lang_Object() 427 assertEquals("2", sub.lastKey()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
|
D | OldAndroidTreeMapTest.java | 68 if (SPEW) System.out.println("tm.lastKey() = " + tm.lastKey()); in doTest() 71 assertEquals(maxVal, tm.lastKey().intValue()); in doTest()
|
/libcore/ojluni/src/test/java/util/SequencedCollection/ |
D | SimpleSortedMap.java | 125 public K lastKey() { in lastKey() method in SimpleSortedMap 126 return map.lastKey(); in lastKey()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ReverseOrderSortedMapView.java | 138 return base.lastKey(); 141 public K lastKey() { 206 K k = prev = view.lastKey(); 439 public K lastKey() {
|
D | SortedMap.java | 224 K lastKey(); in lastKey() method
|
D | TreeSet.java | 402 return m.lastKey(); in last()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSubMapTest.java | 153 assertEquals(five, map.lastKey()); in testLastKey() 461 assertEquals(three, sm.lastKey()); 482 assertEquals(three, sm.lastKey()); 493 assertEquals(two, sm.lastKey()); 582 assertEquals(five, ssm.lastKey()); 663 assertEquals(m5, map.lastKey()); 988 assertEquals(m3, sm.lastKey()); 1009 assertEquals(m3, sm.lastKey()); 1020 assertEquals(m2, sm.lastKey()); 1109 assertEquals(m5, ssm.lastKey());
|
D | ConcurrentSkipListSubMapTest.java | 154 assertEquals(five, map.lastKey()); in testLastKey() 626 assertEquals(three, sm.lastKey()); 647 assertEquals(three, sm.lastKey()); 658 assertEquals(two, sm.lastKey()); 747 assertEquals(five, ssm.lastKey()); 828 assertEquals(m5, map.lastKey()); 1300 assertEquals(m3, sm.lastKey()); 1321 assertEquals(m3, sm.lastKey()); 1332 assertEquals(m2, sm.lastKey()); 1421 assertEquals(m5, ssm.lastKey());
|
D | TreeMapTest.java | 134 assertEquals(five, map.lastKey()); in testLastKey() 634 assertEquals(three, sm.lastKey()); 662 assertEquals(three, sm.lastKey()); 673 assertEquals(two, sm.lastKey()); 777 assertEquals(five, ssm.lastKey()); 1063 assertEq(map.lastKey(), rs.last()); 1072 map.lastKey();
|
D | ConcurrentSkipListMapTest.java | 135 assertEquals(five, map.lastKey()); in testLastKey() 829 assertEquals(three, sm.lastKey()); 857 assertEquals(three, sm.lastKey()); 868 assertEquals(two, sm.lastKey()); 972 assertEquals(five, ssm.lastKey()); 1258 assertEq(map.lastKey(), rs.last()); 1267 map.lastKey();
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TreeSubMapTest.java | 176 assertEquals(five, map.lastKey()); in testLastKey() 484 assertEquals(three, sm.lastKey()); 505 assertEquals(three, sm.lastKey()); 516 assertEquals(two, sm.lastKey()); 605 assertEquals(five, ssm.lastKey()); 686 assertEquals(m5, map.lastKey()); 1011 assertEquals(m3, sm.lastKey()); 1032 assertEquals(m3, sm.lastKey()); 1043 assertEquals(m2, sm.lastKey()); 1132 assertEquals(m5, ssm.lastKey());
|
D | ConcurrentSkipListSubMapTest.java | 177 assertEquals(five, map.lastKey()); in testLastKey() 649 assertEquals(three, sm.lastKey()); 670 assertEquals(three, sm.lastKey()); 681 assertEquals(two, sm.lastKey()); 770 assertEquals(five, ssm.lastKey()); 851 assertEquals(m5, map.lastKey()); 1323 assertEquals(m3, sm.lastKey()); 1344 assertEquals(m3, sm.lastKey()); 1355 assertEquals(m2, sm.lastKey()); 1444 assertEquals(m5, ssm.lastKey());
|
D | TreeMapTest.java | 157 assertEquals(five, map.lastKey()); in testLastKey() 657 assertEquals(three, sm.lastKey()); 685 assertEquals(three, sm.lastKey()); 696 assertEquals(two, sm.lastKey()); 800 assertEquals(five, ssm.lastKey()); 1086 assertEq(map.lastKey(), rs.last()); 1095 map.lastKey();
|
D | ConcurrentSkipListMapTest.java | 158 assertEquals(five, map.lastKey()); in testLastKey() 852 assertEquals(three, sm.lastKey()); 880 assertEquals(three, sm.lastKey()); 891 assertEquals(two, sm.lastKey()); 995 assertEquals(five, ssm.lastKey()); 1281 assertEq(map.lastKey(), rs.last()); 1290 map.lastKey();
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | SortedMap.annotated.java | 42 public K lastKey(); in lastKey() method
|
D | TreeMap.annotated.java | 53 public K lastKey() { throw new RuntimeException("Stub!"); } in lastKey() method in TreeMap
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | SortedMap.annotated.java | 43 @libcore.util.NullFromTypeParam public K lastKey(); in lastKey() method
|
D | TreeMap.annotated.java | 54 @libcore.util.NullFromTypeParam public K lastKey() { throw new RuntimeException("Stub!"); } in lastKey() method in TreeMap
|
/libcore/ojluni/src/main/java/java/awt/font/ |
D | NumericShaper.java | 1319 Range lastKey = ctxKey; in shapeContextually() local 1331 if (ctxKey != lastKey) { in shapeContextually() 1332 lastKey = ctxKey; in shapeContextually()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 403 return m.lastKey(); in last()
|
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/ |
D | ConcurrentSkipListMap.annotated.java | 104 public K lastKey() { throw new RuntimeException("Stub!"); } in lastKey() method in ConcurrentSkipListMap
|