Home
last modified time | relevance | path

Searched refs:lastKey (Results 1 – 21 of 21) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSortedMapTestBase.java155 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()
DRefSortedMap.java153 int lastIdx = bsearch(SubMap.this.lastKey()); in entrySet()
195 public K lastKey() {
197 K res = RefSortedMap.this.lastKey();
286 public K lastKey() {
DTreeMapTest.java118 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 …]
/libcore/luni/src/test/java/libcore/java/util/
DOldTreeMapTest.java101 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()
/libcore/ojluni/src/main/java/java/util/
DSortedMap.java224 K lastKey(); in lastKey() method
DTreeSet.java401 return m.lastKey(); in last()
DCollections.java1858 public K lastKey() { return sm.lastKey(); }
2838 public K lastKey() {
2839 synchronized (mutex) {return sm.lastKey();}
4030 public K lastKey() { return sm.lastKey(); }
4104 public K lastKey() { return nm.lastKey(); }
DTreeMap.java297 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/ojluni/annotations/sdk/nullability/java/util/
DSortedMap.annotated.java43 @libcore.util.NullFromTypeParam public K lastKey(); in lastKey() method
DTreeMap.annotated.java54 @libcore.util.NullFromTypeParam public K lastKey() { throw new RuntimeException("Stub!"); } in lastKey() method in TreeMap
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubMapTest.java153 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());
DConcurrentSkipListSubMapTest.java154 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());
DTreeMapTest.java134 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();
DConcurrentSkipListMapTest.java135 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/
DTreeSubMapTest.java176 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());
DConcurrentSkipListSubMapTest.java177 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());
DTreeMapTest.java157 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();
DConcurrentSkipListMapTest.java158 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/src/main/java/java/awt/font/
DNumericShaper.java1319 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/
DConcurrentSkipListSet.java405 return m.lastKey(); in last()
DConcurrentSkipListMap.java2038 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