--- jsr166/src/extra166y/ParallelLongArrayWithFilter.java 2009/01/06 14:30:58 1.1 +++ jsr166/src/extra166y/ParallelLongArrayWithFilter.java 2013/01/16 00:51:11 1.7 @@ -1,7 +1,7 @@ /* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at - * http://creativecommons.org/licenses/publicdomain + * http://creativecommons.org/publicdomain/zero/1.0/ */ package extra166y; @@ -30,7 +30,7 @@ public abstract class ParallelLongArrayW * @param op the op * @return this (to simplify use in expressions) */ - public ParallelLongArrayWithFilter replaceWithMapping(LongOp op) { + public ParallelLongArrayWithFilter replaceWithMapping(LongOp op) { ex.invoke(new PAS.FJLTransform (this, origin, fence, null, op)); return this; @@ -38,7 +38,7 @@ public abstract class ParallelLongArrayW /** * 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) */ @@ -48,13 +48,13 @@ public abstract class ParallelLongArrayW return this; } - /** - * Replaces elements with the results of applying the given - * mapping to each index and current element value - * @param op the op + /** + * Replaces elements with the results of applying the given + * mapping to each index and current element value. + * @param op the op * @return this (to simplify use in expressions) - */ - public ParallelLongArrayWithFilter replaceWithMappedIndex(IntAndLongToLong op) { + */ + public ParallelLongArrayWithFilter replaceWithMappedIndex(IntAndLongToLong op) { ex.invoke(new PAS.FJLBinaryIndexMap (this, origin, fence, null, op)); return this; @@ -85,7 +85,7 @@ public abstract class ParallelLongArrayW /** * 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) @@ -100,7 +100,7 @@ public abstract class ParallelLongArrayW /** * 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) @@ -132,7 +132,7 @@ public abstract class ParallelLongArrayW /** * 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 */ @@ -141,7 +141,7 @@ public abstract class ParallelLongArrayW /** * 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 */ @@ -154,7 +154,7 @@ public abstract class ParallelLongArrayW /** * 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 */