# | 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 | > | * Returns a new map from Integers 1-5 to Strings "A"-"E". |
20 | */ | |
21 | private static TreeMap map5() { | |
22 | TreeMap map = new TreeMap(); | |
# | Line 41 | Line 41 | public class TreeMapTest extends JSR166T | |
41 | } | |
42 | ||
43 | /** | |
44 | < | * |
44 | > | * copy constructor creates map equal to source map |
45 | */ | |
46 | public void testConstructFromSorted() { | |
47 | TreeMap map = map5(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |