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

Comparing jsr166/src/extra166y/ParallelDoubleArray.java (file contents):
Revision 1.12 by jsr166, Fri Jul 19 19:34:43 2013 UTC vs.
Revision 1.15 by jsr166, Thu Feb 26 06:53:34 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   * An array of doubles supporting parallel operations.  This class
# Line 381 | Line 381 | public class ParallelDoubleArray extends
381       * 2, 3}, and the reducer operation adds numbers, then after
382       * invocation of this method, the contents would be {@code 0, 1,
383       * 3} (that is, {@code 0, 0+1, 0+1+2}, and the return value
384 <     * would be 6 (that is, {@code  1+2+3}).
384 >     * would be 6 (that is, {@code 1+2+3}).
385       * @param reducer the reducer
386       * @param base the result for an empty array
387       * @return the total reduction

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines