# | Line 44 | Line 44 | class ParallelArraySortDemo { | |
---|---|---|
44 | fjpool.shutdown(); | |
45 | } | |
46 | ||
47 | < | static void checkSorted(Long[] a) { |
47 | > | static void checkSorted(Long[] a) { |
48 | int n = a.length; | |
49 | for (int i = 0; i < n - 1; i++) { | |
50 | if (a[i].compareTo(a[i+1]) > 0) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |