/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(new Integer(1).toString())); in test_ConstructorLjava_util_Comparator() 150 anotherTreeMap.lastKey().equals(new Integer(1).toString())); in test_ConstructorLjava_util_SortedMap() 214 reversedTreeMap.lastKey().equals(new Integer(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(new Integer(1).toString())); in test_ConstructorLjava_util_Comparator() 145 anotherTreeMap.lastKey().equals(new Integer(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()
|
D | CollectionsTest.java | 885 assertEquals(floor, ceiling == null ? map.lastKey() : map.lowerKey(ceiling)); in check_unmodifiableNavigableMap_defaultMethods()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SortedMap.java | 224 K lastKey(); in lastKey() method
|
D | TreeSet.java | 401 return m.lastKey(); in last()
|
D | TreeMap.java | 297 public K lastKey() { in lastKey() method in TreeMap 1145 public E last() { return m.lastKey(); } in last() 1570 public final K lastKey() { in lastKey() method in TreeMap.NavigableSubMap 2056 public K lastKey() { throw new InternalError(); } in lastKey() method in TreeMap.SubMap
|
/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/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 | 405 return m.lastKey(); in last()
|
D | ConcurrentSkipListMap.java | 2038 public K lastKey() { in lastKey() method in ConcurrentSkipListMap 2374 public K last() { return m.lastKey(); } in last() 3029 public K lastKey() { in lastKey() method in ConcurrentSkipListMap.SubMap
|