5 |
|
*/ |
6 |
|
|
7 |
|
package extra166y; |
8 |
+ |
|
9 |
|
import jsr166y.*; |
10 |
|
import static extra166y.Ops.*; |
11 |
|
import java.util.*; |
12 |
|
import java.util.concurrent.atomic.*; |
12 |
– |
import java.lang.reflect.Array; |
13 |
|
|
14 |
|
/** |
15 |
|
* A prefix view of ParallelLongArray that causes operations to apply |
113 |
|
* Comparable. Unlike Arrays.sort, this sort does not |
114 |
|
* guarantee that elements with equal keys maintain their relative |
115 |
|
* position in the array. |
116 |
– |
* @throws ClassCastException if any element is not Comparable |
116 |
|
* @return this (to simplify use in expressions) |
117 |
+ |
* @throws ClassCastException if any element is not Comparable |
118 |
|
*/ |
119 |
|
public abstract ParallelLongArrayWithBounds sort(); |
120 |
|
|