--- jsr166/src/extra166y/ParallelDoubleArray.java 2013/02/05 19:54:06 1.11 +++ jsr166/src/extra166y/ParallelDoubleArray.java 2015/02/26 06:53:34 1.15 @@ -5,11 +5,11 @@ */ package extra166y; + import jsr166y.*; import static extra166y.Ops.*; import java.util.*; import java.util.concurrent.atomic.*; -import java.lang.reflect.Array; /** * An array of doubles supporting parallel operations. This class @@ -381,7 +381,7 @@ public class ParallelDoubleArray extends * 2, 3}, and the reducer operation adds numbers, then after * invocation of this method, the contents would be {@code 0, 1, * 3} (that is, {@code 0, 0+1, 0+1+2}, and the return value - * would be 6 (that is, {@code 1+2+3}). + * would be 6 (that is, {@code 1+2+3}). * @param reducer the reducer * @param base the result for an empty array * @return the total reduction @@ -406,8 +406,8 @@ public class ParallelDoubleArray extends * Sorts the array, assuming all elements are Comparable. Unlike * Arrays.sort, this sort does not guarantee that elements * with equal keys maintain their relative position in the array. - * @throws ClassCastException if any element is not Comparable * @return this (to simplify use in expressions) + * @throws ClassCastException if any element is not Comparable */ public ParallelDoubleArray sort() { super.sort();