551 |
|
* Sorts the array, assuming all elements are Comparable. Unlike |
552 |
|
* Arrays.sort, this sort does not guarantee that elements |
553 |
|
* with equal keys maintain their relative position in the array. |
554 |
– |
* @throws ClassCastException if any element is not Comparable |
554 |
|
* @return this (to simplify use in expressions) |
555 |
+ |
* @throws ClassCastException if any element is not Comparable |
556 |
|
*/ |
557 |
|
public ParallelArray<T> sort() { |
558 |
|
super.sort(); |
755 |
|
* @param op the op |
756 |
|
* @return operation prefix |
757 |
|
*/ |
758 |
< |
public <U> ParallelArrayWithMapping<T, U> withMapping |
758 |
> |
public <U> ParallelArrayWithMapping<T,U> withMapping |
759 |
|
(Op<? super T, ? extends U> op) { |
760 |
|
return super.withMapping(op); |
761 |
|
} |