# | Line 293 | Line 293 | class SetOpsDemo { | |
---|---|---|
293 | return u; | |
294 | } | |
295 | ||
296 | < | static void checkSorted(ParallelArray<Long> pa) { |
296 | > | static void checkSorted(ParallelArray<Long> pa) { |
297 | int n = pa.size(); | |
298 | for (int i = 0; i < n - 1; i++) { | |
299 | if (pa.get(i).compareTo(pa.get(i+1)) >= 0) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |