# | Line 43 | Line 43 | public class TreeSetTest extends JSR166T | |
---|---|---|
43 | * Integers 0 ... n - 1. | |
44 | */ | |
45 | private TreeSet<Integer> populatedSet(int n) { | |
46 | < | TreeSet<Integer> q = new TreeSet<Integer>(); |
46 | > | TreeSet<Integer> q = new TreeSet<>(); |
47 | assertTrue(q.isEmpty()); | |
48 | for (int i = n - 1; i >= 0; i -= 2) | |
49 | assertTrue(q.add(new Integer(i))); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |