/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMapTest.java | 39 private static ConcurrentHashMap<Integer, String> map5() { in map5() method in ConcurrentHashMapTest 217 ConcurrentHashMap map = map5(); in testClear() 226 ConcurrentHashMap map1 = map5(); in testEquals() 227 ConcurrentHashMap map2 = map5(); in testEquals() 239 ConcurrentHashMap<Integer,String> map = map5(); in testHashCode() 250 ConcurrentHashMap map = map5(); in testContains() 259 ConcurrentHashMap map = map5(); in testContainsKey() 268 ConcurrentHashMap map = map5(); in testContainsValue() 278 ConcurrentHashMap map = map5(); in testEnumeration() 293 ConcurrentHashMap map = map5(); in testGet() [all …]
|
D | ConcurrentSkipListMapTest.java | 39 private static ConcurrentSkipListMap map5() { in map5() method in ConcurrentSkipListMapTest 56 ConcurrentSkipListMap map = map5(); in testClear() 65 ConcurrentSkipListMap map = map5(); in testConstructFromSorted() 74 ConcurrentSkipListMap map1 = map5(); in testEquals() 75 ConcurrentSkipListMap map2 = map5(); in testEquals() 87 ConcurrentSkipListMap map = map5(); in testContainsKey() 96 ConcurrentSkipListMap map = map5(); in testContainsValue() 106 ConcurrentSkipListMap map = map5(); in testGet() 117 ConcurrentSkipListMap map = map5(); in testIsEmpty() 126 ConcurrentSkipListMap map = map5(); in testFirstKey() [all …]
|
D | TreeMapTest.java | 38 private static TreeMap map5() { in map5() method in TreeMapTest 55 TreeMap map = map5(); in testClear() 64 TreeMap map = map5(); in testConstructFromSorted() 73 TreeMap map1 = map5(); in testEquals() 74 TreeMap map2 = map5(); in testEquals() 86 TreeMap map = map5(); in testContainsKey() 95 TreeMap map = map5(); in testContainsValue() 105 TreeMap map = map5(); in testGet() 116 TreeMap map = map5(); in testIsEmpty() 125 TreeMap map = map5(); in testFirstKey() [all …]
|
D | ConcurrentSkipListSubMapTest.java | 37 private static ConcurrentNavigableMap map5() { in map5() method in ConcurrentSkipListSubMapTest 84 ConcurrentNavigableMap map = map5(); in testClear() 93 ConcurrentNavigableMap map1 = map5(); in testEquals() 94 ConcurrentNavigableMap map2 = map5(); in testEquals() 106 ConcurrentNavigableMap map = map5(); in testContainsKey() 115 ConcurrentNavigableMap map = map5(); in testContainsValue() 125 ConcurrentNavigableMap map = map5(); in testGet() 136 ConcurrentNavigableMap map = map5(); in testIsEmpty() 145 ConcurrentNavigableMap map = map5(); in testFirstKey() 153 ConcurrentNavigableMap map = map5(); in testLastKey() [all …]
|
D | TreeSubMapTest.java | 36 private static NavigableMap map5() { in map5() method in TreeSubMapTest 83 NavigableMap map = map5(); in testClear() 92 NavigableMap map1 = map5(); in testEquals() 93 NavigableMap map2 = map5(); in testEquals() 105 NavigableMap map = map5(); in testContainsKey() 114 NavigableMap map = map5(); in testContainsValue() 124 NavigableMap map = map5(); in testGet() 135 NavigableMap map = map5(); in testIsEmpty() 144 NavigableMap map = map5(); in testFirstKey() 152 NavigableMap map = map5(); in testLastKey() [all …]
|
D | ConcurrentHashMap8Test.java | 43 private static ConcurrentHashMap map5() { in map5() method in ConcurrentHashMap8Test 60 ConcurrentHashMap map = map5(); in testGetOrDefault() 69 ConcurrentHashMap map = map5(); in testComputeIfAbsent() 78 ConcurrentHashMap map = map5(); in testComputeIfAbsent2() 86 ConcurrentHashMap map = map5(); in testComputeIfAbsent3() 95 ConcurrentHashMap map = map5(); in testComputeIfPresent() 104 ConcurrentHashMap map = map5(); in testComputeIfPresent2() 112 ConcurrentHashMap map = map5(); in testCompute() 121 ConcurrentHashMap map = map5(); in testCompute2() 129 ConcurrentHashMap map = map5(); in testCompute3() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentHashMapTest.java | 64 private static ConcurrentHashMap<Integer, String> map5() { in map5() method in ConcurrentHashMapTest 242 ConcurrentHashMap map = map5(); in testClear() 251 ConcurrentHashMap map1 = map5(); in testEquals() 252 ConcurrentHashMap map2 = map5(); in testEquals() 264 ConcurrentHashMap<Integer,String> map = map5(); in testHashCode() 275 ConcurrentHashMap map = map5(); in testContains() 284 ConcurrentHashMap map = map5(); in testContainsKey() 293 ConcurrentHashMap map = map5(); in testContainsValue() 303 ConcurrentHashMap map = map5(); in testEnumeration() 318 ConcurrentHashMap map = map5(); in testGet() [all …]
|
D | ConcurrentSkipListMapTest.java | 62 private static ConcurrentSkipListMap map5() { in map5() method in ConcurrentSkipListMapTest 79 ConcurrentSkipListMap map = map5(); in testClear() 88 ConcurrentSkipListMap map = map5(); in testConstructFromSorted() 97 ConcurrentSkipListMap map1 = map5(); in testEquals() 98 ConcurrentSkipListMap map2 = map5(); in testEquals() 110 ConcurrentSkipListMap map = map5(); in testContainsKey() 119 ConcurrentSkipListMap map = map5(); in testContainsValue() 129 ConcurrentSkipListMap map = map5(); in testGet() 140 ConcurrentSkipListMap map = map5(); in testIsEmpty() 149 ConcurrentSkipListMap map = map5(); in testFirstKey() [all …]
|
D | TreeMapTest.java | 61 private static TreeMap map5() { in map5() method in TreeMapTest 78 TreeMap map = map5(); in testClear() 87 TreeMap map = map5(); in testConstructFromSorted() 96 TreeMap map1 = map5(); in testEquals() 97 TreeMap map2 = map5(); in testEquals() 109 TreeMap map = map5(); in testContainsKey() 118 TreeMap map = map5(); in testContainsValue() 128 TreeMap map = map5(); in testGet() 139 TreeMap map = map5(); in testIsEmpty() 148 TreeMap map = map5(); in testFirstKey() [all …]
|
D | ConcurrentSkipListSubMapTest.java | 60 private static ConcurrentNavigableMap map5() { in map5() method in ConcurrentSkipListSubMapTest 107 ConcurrentNavigableMap map = map5(); in testClear() 116 ConcurrentNavigableMap map1 = map5(); in testEquals() 117 ConcurrentNavigableMap map2 = map5(); in testEquals() 129 ConcurrentNavigableMap map = map5(); in testContainsKey() 138 ConcurrentNavigableMap map = map5(); in testContainsValue() 148 ConcurrentNavigableMap map = map5(); in testGet() 159 ConcurrentNavigableMap map = map5(); in testIsEmpty() 168 ConcurrentNavigableMap map = map5(); in testFirstKey() 176 ConcurrentNavigableMap map = map5(); in testLastKey() [all …]
|
D | TreeSubMapTest.java | 59 private static NavigableMap map5() { in map5() method in TreeSubMapTest 106 NavigableMap map = map5(); in testClear() 115 NavigableMap map1 = map5(); in testEquals() 116 NavigableMap map2 = map5(); in testEquals() 128 NavigableMap map = map5(); in testContainsKey() 137 NavigableMap map = map5(); in testContainsValue() 147 NavigableMap map = map5(); in testGet() 158 NavigableMap map = map5(); in testIsEmpty() 167 NavigableMap map = map5(); in testFirstKey() 175 NavigableMap map = map5(); in testLastKey() [all …]
|
D | ConcurrentHashMap8Test.java | 67 private static ConcurrentHashMap map5() { in map5() method in ConcurrentHashMap8Test 84 ConcurrentHashMap map = map5(); in testGetOrDefault() 93 ConcurrentHashMap map = map5(); in testComputeIfAbsent() 102 ConcurrentHashMap map = map5(); in testComputeIfAbsent2() 110 ConcurrentHashMap map = map5(); in testComputeIfAbsent3() 119 ConcurrentHashMap map = map5(); in testComputeIfPresent() 128 ConcurrentHashMap map = map5(); in testComputeIfPresent2() 136 ConcurrentHashMap map = map5(); in testCompute() 145 ConcurrentHashMap map = map5(); in testCompute2() 153 ConcurrentHashMap map = map5(); in testCompute3() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractMapTest.java | 89 AbstractMap map5 = new LinkedHashMap(122); in test_keySet() local 90 assertSame("LinkedHashMap", map5.keySet(), map5.keySet()); in test_keySet() 114 AbstractMap map5 = new LinkedHashMap(122); in test_removeLjava_lang_Object() local 115 map5.put(key, value); in test_removeLjava_lang_Object() 116 assertSame("LinkedHashMap", map5.remove(key), value); in test_removeLjava_lang_Object() 241 AbstractMap map5 = new LinkedHashMap(122); in test_values() local 242 assertSame("IdentityHashMap", map5.values(), map5.values()); in test_values()
|