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.3 by jsr166, Fri Apr 15 15:39:08 2011 UTC vs.
Revision 1.8 by jsr166, Sun Jan 18 20:17:32 2015 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines