1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
import jsr166y.*; |
288 |
|
return u; |
289 |
|
} |
290 |
|
|
291 |
< |
static void checkSorted(ParallelLongArray pa) { |
291 |
> |
static void checkSorted(ParallelLongArray pa) { |
292 |
|
int n = pa.size(); |
293 |
|
for (int i = 0; i < n - 1; i++) { |
294 |
|
if (pa.get(i) >= pa.get(i+1)) { |