# | Line 160 | Line 160 | public class ConcurrentHashMapTest exten | |
---|---|---|
160 | * can be inserted and found. | |
161 | */ | |
162 | public void testMixedComparable() { | |
163 | < | int size = 10000; |
163 | > | int size = 1200; // makes measured test run time -> 35ms |
164 | ConcurrentHashMap<Object, Object> map = | |
165 | new ConcurrentHashMap<Object, Object>(); | |
166 | < | Random rng = new Random(1370014958369218000L); |
166 | > | Random rng = new Random(); |
167 | for (int i = 0; i < size; i++) { | |
168 | Object x; | |
169 | switch (rng.nextInt(4)) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |