18 |
|
} |
19 |
|
|
20 |
|
/** |
21 |
< |
* Creates a map from Integers 1-5 to Strings "A"-"E". |
21 |
> |
* Returns a new map from Integers 1-5 to Strings "A"-"E". |
22 |
|
*/ |
23 |
|
private static ConcurrentNavigableMap map5() { |
24 |
|
ConcurrentSkipListMap map = new ConcurrentSkipListMap(); |
36 |
|
} |
37 |
|
|
38 |
|
/** |
39 |
< |
* Creates a map from Integers -5 to -1 to Strings "A"-"E". |
39 |
> |
* Returns a new map from Integers -5 to -1 to Strings "A"-"E". |
40 |
|
*/ |
41 |
|
private static ConcurrentNavigableMap dmap5() { |
42 |
|
ConcurrentSkipListMap map = new ConcurrentSkipListMap(); |
595 |
|
NavigableMap x = map5(); |
596 |
|
NavigableMap y = serialClone(x); |
597 |
|
|
598 |
< |
assertTrue(x != y); |
598 |
> |
assertNotSame(x, y); |
599 |
|
assertEquals(x.size(), y.size()); |
600 |
|
assertEquals(x.toString(), y.toString()); |
601 |
|
assertEquals(x, y); |
1269 |
|
NavigableMap x = dmap5(); |
1270 |
|
NavigableMap y = serialClone(x); |
1271 |
|
|
1272 |
< |
assertTrue(x != y); |
1272 |
> |
assertNotSame(x, y); |
1273 |
|
assertEquals(x.size(), y.size()); |
1274 |
|
assertEquals(x.toString(), y.toString()); |
1275 |
|
assertEquals(x, y); |