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

Comparing jsr166/src/extra166y/ParallelDoubleArrayWithBounds.java (file contents):
Revision 1.4 by jsr166, Sat Dec 29 23:55:19 2012 UTC vs.
Revision 1.5 by jsr166, Sun Dec 30 02:05:53 2012 UTC

# Line 41 | Line 41 | public abstract class ParallelDoubleArra
41  
42      /**
43       * Returns the index of some element equal to given target,
44 <     * or -1 if not present
44 >     * or -1 if not present.
45       * @param target the element to search for
46       * @return the index or -1 if not present
47       */
# Line 78 | Line 78 | public abstract class ParallelDoubleArra
78      public abstract ParallelDoubleArrayWithBounds cumulate(DoubleReducer reducer, double base);
79  
80      /**
81 <     * Replaces each element with the running sum
81 >     * Replaces each element with the running sum.
82       * @return this (to simplify use in expressions)
83       */
84      public abstract ParallelDoubleArrayWithBounds cumulateSum();
# Line 94 | Line 94 | public abstract class ParallelDoubleArra
94      public abstract double precumulate(DoubleReducer reducer, double base);
95  
96      /**
97 <     * Replaces each element with its prefix sum
97 >     * Replaces each element with its prefix sum.
98       * @return the total sum
99       */
100      public abstract double precumulateSum();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines