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

Comparing jsr166/src/extra166y/ParallelArrayWithFilter.java (file contents):
Revision 1.3 by jsr166, Tue Jan 31 01:51:13 2012 UTC vs.
Revision 1.8 by jsr166, Thu Feb 26 06:53:33 2015 UTC

# Line 5 | Line 5
5   */
6  
7   package extra166y;
8 +
9   import jsr166y.*;
10   import static extra166y.Ops.*;
11   import java.util.*;
12   import java.util.concurrent.atomic.*;
12 import java.lang.reflect.Array;
13  
14   /**
15   * A prefix view of ParallelArray that causes operations to apply
# Line 38 | Line 38 | public abstract class ParallelArrayWithF
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 51 | Line 51 | public abstract class ParallelArrayWithF
51  
52      /**
53       * Replaces elements with the results of applying the given
54 <     * mapping to each index and current element value
54 >     * mapping to each index and current element value.
55       * @param op the op
56       * @return this (to simplify use in expressions)
57       */
# Line 63 | Line 63 | public abstract class ParallelArrayWithF
63      }
64  
65      /**
66 <     * Replaces elements with results of applying the given
67 <     * generator.
66 >     * Replaces elements with results of applying the given generator.
67       * @param generator the generator
68       * @return this (to simplify use in expressions)
69       */
# Line 88 | Line 87 | public abstract class ParallelArrayWithF
87  
88      /**
89       * Replaces elements with results of applying
90 <     * <tt>op(thisElement, otherElement)</tt>
90 >     * {@code op(thisElement, otherElement)}.
91       * @param other the other array
92       * @param combiner the combiner
93       * @return this (to simplify use in expressions)
# Line 104 | Line 103 | public abstract class ParallelArrayWithF
103  
104      /**
105       * Replaces elements with results of applying
106 <     * <tt>op(thisElement, otherElement)</tt>
106 >     * {@code op(thisElement, otherElement)}.
107       * @param other the other array
108       * @param combiner the combiner
109       * @return this (to simplify use in expressions)
# Line 120 | Line 119 | public abstract class ParallelArrayWithF
119      /**
120       * Returns a new ParallelArray containing only non-null unique
121       * elements (that is, without any duplicates). This method
122 <     * uses each element's <tt>equals</tt> method to test for
122 >     * uses each element's {@code equals} method to test for
123       * duplication.
124       * @return the new ParallelArray
125       */
# Line 153 | Line 152 | public abstract class ParallelArrayWithF
152      /**
153       * Returns an operation prefix that causes a method to operate
154       * only on elements for which the current selector (if
155 <     * present) and the given selector returns true
155 >     * present) and the given selector returns true.
156       * @param selector the selector
157       * @return operation prefix
158       */
# Line 163 | Line 162 | public abstract class ParallelArrayWithF
162      /**
163       * Returns an operation prefix that causes a method to operate
164       * only on elements for which the current selector (if
165 <     * present) and the given binary selector returns true
165 >     * present) and the given binary selector returns true.
166       * @param selector the selector
167       * @return operation prefix
168       */
# Line 176 | Line 175 | public abstract class ParallelArrayWithF
175      /**
176       * Returns an operation prefix that causes a method to operate
177       * only on elements for which the current selector (if
178 <     * present) and the given indexed selector returns true
178 >     * present) and the given indexed selector returns true.
179       * @param selector the selector
180       * @return operation prefix
181       */
# Line 224 | Line 223 | public abstract class ParallelArrayWithF
223  
224      final Object oget(int i) { return this.array[i]; }
225   }
227

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines