# | Line 16 | Line 16 | public class TreeMapTest extends JSR166T | |
---|---|---|
16 | } | |
17 | ||
18 | /** | |
19 | < | * Create a map from Integers 1-5 to Strings "A"-"E". |
19 | > | * Creates a map from Integers 1-5 to Strings "A"-"E". |
20 | */ | |
21 | private static TreeMap map5() { | |
22 | TreeMap map = new TreeMap(); | |
# | Line 1018 | Line 1018 | public class TreeMapTest extends JSR166T | |
1018 | if (bsContainsI) | |
1019 | size++; | |
1020 | } | |
1021 | < | assertEquals(map.size(), size); |
1021 | > | assertEquals(size, map.size()); |
1022 | ||
1023 | // Test contents using contains keySet iterator | |
1024 | int size2 = 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |