# | Line 1 | Line 1 | |
---|---|---|
1 | /* | |
2 | + | * Written by Josh Bloch and Doug Lea with assistance from members of |
3 | + | * JCP JSR-166 Expert Group and released to the public domain, as |
4 | + | * explained at http://creativecommons.org/licenses/publicdomain |
5 | + | */ |
6 | + | /* |
7 | * @test | |
8 | * @synopsis Checks that a priority queue returns elements in sorted order across various operations | |
9 | */ | |
# | Line 18 | Line 23 | public class PriorityQueueSort { | |
23 | } | |
24 | ||
25 | public static void main(String[] args) { | |
26 | < | int n = 10000; |
26 | > | int n = 100000; |
27 | if (args.length > 0) | |
28 | n = Integer.parseInt(args[0]); | |
29 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |