--- jsr166/src/extra166y/ParallelArray.java 2013/02/05 17:49:18 1.12 +++ jsr166/src/extra166y/ParallelArray.java 2013/07/20 19:23:09 1.15 @@ -133,7 +133,7 @@ import java.lang.reflect.Array; * public boolean op(Student s) { return s.credits > 90; } * } * static final IsSenior isSenior = new IsSenior(); - * static final class GpaField implements ObjectToDouble<Student> { + * static final class GpaField implements ObjectToDouble<Student> { * public double op(Student s) { return s.gpa; } * } * static final GpaField gpaField = new GpaField(); @@ -551,8 +551,8 @@ public class ParallelArray extends Ab * 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 ParallelArray sort() { super.sort(); @@ -755,7 +755,7 @@ public class ParallelArray extends Ab * @param op the op * @return operation prefix */ - public ParallelArrayWithMapping withMapping + public ParallelArrayWithMapping withMapping (Op op) { return super.withMapping(op); }