160 |
|
* can be inserted and found. |
161 |
|
*/ |
162 |
|
public void testMixedComparable() { |
163 |
< |
int size = 10000; |
164 |
< |
ConcurrentHashMap<Object, Object> map = |
163 |
> |
int size = 10000; |
164 |
> |
ConcurrentHashMap<Object, Object> map = |
165 |
|
new ConcurrentHashMap<Object, Object>(); |
166 |
|
Random rng = new Random(1370014958369218000L); |
167 |
< |
for(int i = 0; i < size; i++) { |
167 |
> |
for (int i = 0; i < size; i++) { |
168 |
|
Object x; |
169 |
< |
switch(rng.nextInt(4)) { |
169 |
> |
switch (rng.nextInt(4)) { |
170 |
|
case 0: |
171 |
|
x = new Object(); |
172 |
|
break; |