# | Line 42 | Line 42 | public class ArrayDequeTest extends JSR1 | |
---|---|---|
42 | */ | |
43 | private static ArrayDeque<Integer> populatedDeque(int n) { | |
44 | // Randomize various aspects of memory layout, including | |
45 | < | // filled-to-capacity and wraparound. |
45 | > | // capacity slop and wraparound. |
46 | final ArrayDeque<Integer> q; | |
47 | ThreadLocalRandom rnd = ThreadLocalRandom.current(); | |
48 | switch (rnd.nextInt(6)) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |