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

Comparing jsr166/src/extra166y/ParallelDoubleArrayWithFilter.java (file contents):
Revision 1.2 by jsr166, Tue Mar 15 19:47:02 2011 UTC vs.
Revision 1.7 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 29 | Line 30 | public abstract class ParallelDoubleArra
30       * @param op the op
31       * @return this (to simplify use in expressions)
32       */
33 <    public ParallelDoubleArrayWithFilter replaceWithMapping(DoubleOp  op) {
33 >    public ParallelDoubleArrayWithFilter replaceWithMapping(DoubleOp op) {
34          ex.invoke(new PAS.FJDTransform(this, origin,
35                                         fence, null, op));
36          return this;
# Line 37 | Line 38 | public abstract class ParallelDoubleArra
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 49 | Line 50 | public abstract class ParallelDoubleArra
50  
51      /**
52       * Replaces elements with the results of applying the given
53 <     * mapping to each index and current element value
53 >     * mapping to each index and current element value.
54       * @param op the op
55       * @return this (to simplify use in expressions)
56       */
# Line 60 | Line 61 | public abstract class ParallelDoubleArra
61      }
62  
63      /**
64 <     * Replaces elements with results of applying the given
64 <     * generator.
64 >     * Replaces elements with results of applying the given generator.
65       * @param generator the generator
66       * @return this (to simplify use in expressions)
67       */
# Line 84 | Line 84 | public abstract class ParallelDoubleArra
84  
85      /**
86       * Replaces elements with results of applying
87 <     * <tt>op(thisElement, otherElement)</tt>
87 >     * {@code op(thisElement, otherElement)}.
88       * @param other the other array
89       * @param combiner the combiner
90       * @return this (to simplify use in expressions)
# Line 99 | Line 99 | public abstract class ParallelDoubleArra
99  
100      /**
101       * Replaces elements with results of applying
102 <     * <tt>op(thisElement, otherElement)</tt>
102 >     * {@code op(thisElement, otherElement)}.
103       * @param other the other array
104       * @param combiner the combiner
105       * @return this (to simplify use in expressions)
# Line 132 | Line 132 | public abstract class ParallelDoubleArra
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 142 | Line 142 | public abstract class ParallelDoubleArra
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 155 | Line 155 | public abstract class ParallelDoubleArra
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       */
# Line 190 | Line 190 | public abstract class ParallelDoubleArra
190      final double dget(int i) { return this.array[i]; }
191  
192   }
193

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines