Searched refs:treeMap (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeMapTest.java | 618 TreeMap<String, String> treeMap = new TreeMap<>(); in test_spliterator_keySet() local 620 treeMap.put("a", "1"); in test_spliterator_keySet() 621 treeMap.put("i", "9"); in test_spliterator_keySet() 622 treeMap.put("j", "10"); in test_spliterator_keySet() 623 treeMap.put("k", "11"); in test_spliterator_keySet() 624 treeMap.put("l", "12"); in test_spliterator_keySet() 625 treeMap.put("b", "2"); in test_spliterator_keySet() 626 treeMap.put("c", "3"); in test_spliterator_keySet() 627 treeMap.put("d", "4"); in test_spliterator_keySet() 628 treeMap.put("e", "5"); in test_spliterator_keySet() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 78 TreeMap treeMap = new TreeMap(); in test_TreeMap_Constructor_Default() local 79 assertTrue(treeMap.isEmpty()); in test_TreeMap_Constructor_Default() 80 assertNull(treeMap.comparator()); in test_TreeMap_Constructor_Default() 81 assertEquals(0, treeMap.size()); in test_TreeMap_Constructor_Default() 84 treeMap.firstKey(); in test_TreeMap_Constructor_Default() 89 assertNull(treeMap.firstEntry()); in test_TreeMap_Constructor_Default() 92 treeMap.lastKey(); in test_TreeMap_Constructor_Default() 97 assertNull(treeMap.lastEntry()); in test_TreeMap_Constructor_Default() 100 treeMap.ceilingKey(1); in test_TreeMap_Constructor_Default() 104 assertNull(treeMap.ceilingEntry(1)); in test_TreeMap_Constructor_Default() [all …]
|
D | TreeMapTest.java | 1949 public static TreeMap treeMap = new TreeMap(); field in TreeMapTest 1952 treeMap.put("firstKey", "firstValue"); in test_values_1() 1953 treeMap.put("secondKey", "secondValue"); in test_values_1() 1954 treeMap.put("thirdKey", "thirdValue"); in test_values_1() 1955 Object firstKey = treeMap.firstKey(); in test_values_1() 1956 SortedMap subMap = ((SortedMap) treeMap).subMap(firstKey, firstKey); in test_values_1()
|