--- jsr166/src/extra166y/ParallelLongArray.java 2012/12/30 02:05:53 1.9
+++ jsr166/src/extra166y/ParallelLongArray.java 2013/01/16 00:51:11 1.10
@@ -262,7 +262,7 @@ public class ParallelLongArray extends A
* Replaces elements with the results of applying the given
* generator. For example, to fill the array with uniform random
* values, use
- * replaceWithGeneratedValue(Ops.longRandom()).
+ * {@code replaceWithGeneratedValue(Ops.longRandom())}.
* @param generator the generator
* @return this (to simplify use in expressions)
*/
@@ -283,7 +283,7 @@ public class ParallelLongArray extends A
/**
* 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)
@@ -297,7 +297,7 @@ public class ParallelLongArray extends A
/**
* 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)
@@ -401,9 +401,9 @@ public class ParallelLongArray extends A
/**
* Replaces each element with the running cumulation of applying
* the given reducer. For example, if the contents are the numbers
- * 1, 2, 3, and the reducer operation adds numbers, then
- * after invocation of this method, the contents would be 1,
- * 3, 6 (that is, 1, 1+2, 1+2+3);
+ * {@code 1, 2, 3}, and the reducer operation adds numbers, then
+ * after invocation of this method, the contents would be {@code 1,
+ * 3, 6} (that is, {@code 1, 1+2, 1+2+3});
* @param reducer the reducer
* @param base the result for an empty array
* @return this (to simplify use in expressions)
@@ -416,11 +416,11 @@ public class ParallelLongArray extends A
/**
* Replaces each element with the cumulation of applying the given
* reducer to all previous values, and returns the total
- * reduction. For example, if the contents are the numbers 1,
- * 2, 3, and the reducer operation adds numbers, then after
- * invocation of this method, the contents would be 0, 1,
- * 3 (that is, 0, 0+1, 0+1+2, and the return value
- * would be 6 (that is, 1+2+3);
+ * reduction. For example, if the contents are the numbers {@code 1,
+ * 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});
* @param reducer the reducer
* @param base the result for an empty array
* @return the total reduction
@@ -478,7 +478,7 @@ public class ParallelLongArray extends A
}
/**
- * Equivalent to asList().addAll but specialized for array
+ * Equivalent to {@code asList().addAll} but specialized for array
* arguments and likely to be more efficient.
* @param other the elements to add
* @return this (to simplify use in expressions)
@@ -835,7 +835,7 @@ public class ParallelLongArray extends A
* Returns an iterator stepping through each element of the array
* up to the current limit. This iterator does not
* support the remove operation. However, a full
- * ListIterator supporting add, remove, and set
+ * {@code ListIterator} supporting add, remove, and set
* operations is available via {@link #asList}.
* @return an iterator stepping through each element
*/
@@ -909,7 +909,7 @@ public class ParallelLongArray extends A
public void set(int i, long x) { array[i] = x; }
/**
- * Equivalent to asList().toString()
+ * Equivalent to {@code asList().toString()}
* @return a string representation
*/
public String toString() {