--- jsr166/src/extra166y/ParallelArrayWithFilter.java 2012/01/31 01:51:13 1.3
+++ jsr166/src/extra166y/ParallelArrayWithFilter.java 2015/02/26 06:53:33 1.8
@@ -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;
/**
* A prefix view of ParallelArray that causes operations to apply
@@ -38,7 +38,7 @@ public abstract class ParallelArrayWithF
/**
* Replaces elements with the results of applying the given
- * op to their indices
+ * op to their indices.
* @param op the op
* @return this (to simplify use in expressions)
*/
@@ -51,7 +51,7 @@ public abstract class ParallelArrayWithF
/**
* Replaces elements with the results of applying the given
- * mapping to each index and current element value
+ * mapping to each index and current element value.
* @param op the op
* @return this (to simplify use in expressions)
*/
@@ -63,8 +63,7 @@ public abstract class ParallelArrayWithF
}
/**
- * Replaces elements with results of applying the given
- * generator.
+ * Replaces elements with results of applying the given generator.
* @param generator the generator
* @return this (to simplify use in expressions)
*/
@@ -88,7 +87,7 @@ public abstract class ParallelArrayWithF
/**
* Replaces elements with results of applying
- * op(thisElement, otherElement)
+ * {@code op(thisElement, otherElement)}.
* @param other the other array
* @param combiner the combiner
* @return this (to simplify use in expressions)
@@ -104,7 +103,7 @@ public abstract class ParallelArrayWithF
/**
* Replaces elements with results of applying
- * op(thisElement, otherElement)
+ * {@code op(thisElement, otherElement)}.
* @param other the other array
* @param combiner the combiner
* @return this (to simplify use in expressions)
@@ -120,7 +119,7 @@ public abstract class ParallelArrayWithF
/**
* Returns a new ParallelArray containing only non-null unique
* elements (that is, without any duplicates). This method
- * uses each element's equals method to test for
+ * uses each element's {@code equals} method to test for
* duplication.
* @return the new ParallelArray
*/
@@ -153,7 +152,7 @@ public abstract class ParallelArrayWithF
/**
* Returns an operation prefix that causes a method to operate
* only on elements for which the current selector (if
- * present) and the given selector returns true
+ * present) and the given selector returns true.
* @param selector the selector
* @return operation prefix
*/
@@ -163,7 +162,7 @@ public abstract class ParallelArrayWithF
/**
* Returns an operation prefix that causes a method to operate
* only on elements for which the current selector (if
- * present) and the given binary selector returns true
+ * present) and the given binary selector returns true.
* @param selector the selector
* @return operation prefix
*/
@@ -176,7 +175,7 @@ public abstract class ParallelArrayWithF
/**
* Returns an operation prefix that causes a method to operate
* only on elements for which the current selector (if
- * present) and the given indexed selector returns true
+ * present) and the given indexed selector returns true.
* @param selector the selector
* @return operation prefix
*/
@@ -224,4 +223,3 @@ public abstract class ParallelArrayWithF
final Object oget(int i) { return this.array[i]; }
}
-