Home
last modified time | relevance | path

Searched refs:createMap (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DLinkedHashMapTest.java292 LinkedHashMap<String, String> emptyMap = createMap(); in test_eldest_empty()
297 assertEntry("key", "value", eldest(createMap("key", "value"))); in test_eldest_nonempty()
298 assertEntry("A", "1", eldest(createMap("A", "1", "B", "2", "C", "3"))); in test_eldest_nonempty()
299 assertEntry("A", "4", eldest(createMap("A", "1", "B", "2", "C", "3", "A", "4"))); in test_eldest_nonempty()
300 assertEntry("A", "4", eldest(createMap("A", "1", "B", "2", "C", "3", "A", "4", "D", "5"))); in test_eldest_nonempty()
304 check_eldest_comparibleWithIterationOrder(createMap()); in test_eldest_compatibleWithIterationOrder()
305 check_eldest_comparibleWithIterationOrder(createMap("key", "value")); in test_eldest_compatibleWithIterationOrder()
306 check_eldest_comparibleWithIterationOrder(createMap("A", "1", "B", "2")); in test_eldest_compatibleWithIterationOrder()
307 check_eldest_comparibleWithIterationOrder(createMap("A", "1", "B", "2", "A", "3")); in test_eldest_compatibleWithIterationOrder()
308 check_eldest_comparibleWithIterationOrder(createMap("A", "1", "A", "2", "A", "3")); in test_eldest_compatibleWithIterationOrder()
[all …]
DCollectionsTest.java320 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2)), in test_checkedNavigableMap_replaceAll()
324 createMap("key3", 15, "key1", 5, "key4", 20, "key2", 10), in test_checkedNavigableMap_replaceAll()
383 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2)), in test_checkedNavigableMap_navigableKeySet()
393 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2)), in test_checkedNavigableMap_values()
649 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_unmodifiableNavigableMap_nonEmpty()
686 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_replaceAll()
688 assertEquals(map, createMap("key3", 15, "key1", 5, "key4", 20, "key2", 10)); in test_synchronizedNavigableMap_replaceAll()
741 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_keySet()
749 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_navigableKeySet()
756 new TreeMap<>(createMap("key3", 3, "key1", 1, "key4", 4, "key2", 2))); in test_synchronizedNavigableMap_descendingMap_descendingKeySet()
[all …]
/libcore/ojluni/src/main/java/sun/util/resources/
DOpenListResourceBundle.java126 Map temp = createMap(contents.length); in loadLookup()
143 protected Map createMap(int size) { in createMap() method in OpenListResourceBundle
/libcore/ojluni/src/main/java/java/lang/
DInheritableThreadLocal.java80 void createMap(Thread t, T firstValue) { in createMap() method in InheritableThreadLocal
DThreadLocal.java186 createMap(t, value); in setInitialValue()
205 createMap(t, value); in set()
243 void createMap(Thread t, T firstValue) { in createMap() method in ThreadLocal