/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 | ConcurrentSkipListMapTest.java | 76 private static ConcurrentSkipListMap map5() { in map5() method in ConcurrentSkipListMapTest 94 ConcurrentSkipListMap map = map5(); in testClear() 104 ConcurrentSkipListMap map = map5(); in testConstructFromSorted() 114 ConcurrentSkipListMap map1 = map5(); in testEquals() 115 ConcurrentSkipListMap map2 = map5(); in testEquals() 128 ConcurrentSkipListMap map = map5(); in testContainsKey() 138 ConcurrentSkipListMap map = map5(); in testContainsValue() 149 ConcurrentSkipListMap map = map5(); in testGet() 161 ConcurrentSkipListMap map = map5(); in testIsEmpty() 171 ConcurrentSkipListMap map = map5(); in testFirstKey() [all …]
|
D | ConcurrentHashMapTest.java | 78 private static ConcurrentHashMap<Integer, String> map5() { in map5() method in ConcurrentHashMapTest 261 ConcurrentHashMap map = map5(); in testClear() 271 ConcurrentHashMap map1 = map5(); in testEquals() 272 ConcurrentHashMap map2 = map5(); in testEquals() 285 ConcurrentHashMap<Integer,String> map = map5(); in testHashCode() 297 ConcurrentHashMap map = map5(); in testContains() 307 ConcurrentHashMap map = map5(); in testContainsKey() 317 ConcurrentHashMap map = map5(); in testContainsValue() 328 ConcurrentHashMap map = map5(); in testEnumeration() 344 ConcurrentHashMap map = map5(); in testGet() [all …]
|
D | TreeMapTest.java | 75 private static TreeMap map5() { in map5() method in TreeMapTest 93 TreeMap map = map5(); in testClear() 103 TreeMap map = map5(); in testConstructFromSorted() 113 TreeMap map1 = map5(); in testEquals() 114 TreeMap map2 = map5(); in testEquals() 127 TreeMap map = map5(); in testContainsKey() 137 TreeMap map = map5(); in testContainsValue() 148 TreeMap map = map5(); in testGet() 160 TreeMap map = map5(); in testIsEmpty() 170 TreeMap map = map5(); in testFirstKey() [all …]
|
D | ConcurrentSkipListSubMapTest.java | 74 private static ConcurrentNavigableMap map5() { in map5() method in ConcurrentSkipListSubMapTest 122 ConcurrentNavigableMap map = map5(); in testClear() 132 ConcurrentNavigableMap map1 = map5(); in testEquals() 133 ConcurrentNavigableMap map2 = map5(); in testEquals() 146 ConcurrentNavigableMap map = map5(); in testContainsKey() 156 ConcurrentNavigableMap map = map5(); in testContainsValue() 167 ConcurrentNavigableMap map = map5(); in testGet() 179 ConcurrentNavigableMap map = map5(); in testIsEmpty() 189 ConcurrentNavigableMap map = map5(); in testFirstKey() 198 ConcurrentNavigableMap map = map5(); in testLastKey() [all …]
|
D | TreeSubMapTest.java | 73 private static NavigableMap map5() { in map5() method in TreeSubMapTest 121 NavigableMap map = map5(); in testClear() 131 NavigableMap map1 = map5(); in testEquals() 132 NavigableMap map2 = map5(); in testEquals() 145 NavigableMap map = map5(); in testContainsKey() 155 NavigableMap map = map5(); in testContainsValue() 166 NavigableMap map = map5(); in testGet() 178 NavigableMap map = map5(); in testIsEmpty() 188 NavigableMap map = map5(); in testFirstKey() 197 NavigableMap map = map5(); in testLastKey() [all …]
|
D | ConcurrentHashMap8Test.java | 81 private static ConcurrentHashMap map5() { in map5() method in ConcurrentHashMap8Test 99 ConcurrentHashMap map = map5(); in testGetOrDefault() 109 ConcurrentHashMap map = map5(); in testComputeIfAbsent() 119 ConcurrentHashMap map = map5(); in testComputeIfAbsent2() 128 ConcurrentHashMap map = map5(); in testComputeIfAbsent3() 138 ConcurrentHashMap map = map5(); in testComputeIfPresent() 148 ConcurrentHashMap map = map5(); in testComputeIfPresent2() 157 ConcurrentHashMap map = map5(); in testCompute() 167 ConcurrentHashMap map = map5(); in testCompute2() 176 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()
|