ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/extra166y/ParallelLongArrayWithFilter.java
(Generate patch)

Comparing jsr166/src/extra166y/ParallelLongArrayWithFilter.java (file contents):
Revision 1.2 by jsr166, Tue Mar 15 19:47:02 2011 UTC vs.
Revision 1.6 by jsr166, Mon Dec 5 04:08:47 2011 UTC

# Line 30 | Line 30 | public abstract class ParallelLongArrayW
30       * @param op the op
31       * @return this (to simplify use in expressions)
32       */
33 <    public ParallelLongArrayWithFilter replaceWithMapping(LongOp  op) {
33 >    public ParallelLongArrayWithFilter replaceWithMapping(LongOp op) {
34          ex.invoke(new PAS.FJLTransform
35                    (this, origin, fence, null, op));
36          return this;
# Line 38 | Line 38 | public abstract class ParallelLongArrayW
38  
39      /**
40       * Replaces elements with the results of applying the given
41 <     * op to their indices
41 >     * op to their indices.
42       * @param op the op
43       * @return this (to simplify use in expressions)
44       */
# Line 48 | Line 48 | public abstract class ParallelLongArrayW
48          return this;
49      }
50  
51 <   /**
52 <    * Replaces elements with the results of applying the given
53 <    * mapping to each index and current element value
54 <    * @param op the op
51 >    /**
52 >     * Replaces elements with the results of applying the given
53 >     * mapping to each index and current element value.
54 >     * @param op the op
55       * @return this (to simplify use in expressions)
56 <    */
57 <   public ParallelLongArrayWithFilter replaceWithMappedIndex(IntAndLongToLong op) {
56 >     */
57 >    public ParallelLongArrayWithFilter replaceWithMappedIndex(IntAndLongToLong op) {
58          ex.invoke(new PAS.FJLBinaryIndexMap
59                    (this, origin, fence, null, op));
60          return this;
# Line 85 | Line 85 | public abstract class ParallelLongArrayW
85  
86      /**
87       * Replaces elements with results of applying
88 <     * <tt>op(thisElement, otherElement)</tt>
88 >     * <tt>op(thisElement, otherElement)</tt>.
89       * @param other the other array
90       * @param combiner the combiner
91       * @return this (to simplify use in expressions)
# Line 100 | Line 100 | public abstract class ParallelLongArrayW
100  
101      /**
102       * Replaces elements with results of applying
103 <     * <tt>op(thisElement, otherElement)</tt>
103 >     * <tt>op(thisElement, otherElement)</tt>.
104       * @param other the other array
105       * @param combiner the combiner
106       * @return this (to simplify use in expressions)
# Line 132 | Line 132 | public abstract class ParallelLongArrayW
132      /**
133       * Returns an operation prefix that causes a method to operate
134       * only on elements for which the current selector (if
135 <     * present) and the given selector returns true
135 >     * present) and the given selector returns true.
136       * @param selector the selector
137       * @return operation prefix
138       */
# Line 141 | Line 141 | public abstract class ParallelLongArrayW
141      /**
142       * Returns an operation prefix that causes a method to operate
143       * only on elements for which the current selector (if
144 <     * present) and the given binary selector returns true
144 >     * present) and the given binary selector returns true.
145       * @param selector the selector
146       * @return operation prefix
147       */
# Line 154 | Line 154 | public abstract class ParallelLongArrayW
154      /**
155       * Returns an operation prefix that causes a method to operate
156       * only on elements for which the current selector (if
157 <     * present) and the given indexed selector returns true
157 >     * present) and the given indexed selector returns true.
158       * @param selector the selector
159       * @return operation prefix
160       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines