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.3 by jsr166, Mon Dec 5 04:08:47 2011 UTC vs.
Revision 1.4 by jsr166, Tue Feb 21 01:54:03 2012 UTC

# Line 137 | Line 137 | public class ParallelDoubleArray extends
137       * mapped ParallelDoubleArray.
138       */
139      public static interface SummaryStatistics {
140 <        /** Return the number of elements */
140 >        /** Returns the number of elements */
141          public int size();
142 <        /** Return the minimum element, or Double.MAX_VALUE if empty */
142 >        /** Returns the minimum element, or Double.MAX_VALUE if empty */
143          public double min();
144 <        /** Return the maximum element, or -Double.MAX_VALUE if empty */
144 >        /** Returns the maximum element, or -Double.MAX_VALUE if empty */
145          public double max();
146 <        /** Return the index of the minimum element, or -1 if empty */
146 >        /** Returns the index of the minimum element, or -1 if empty */
147          public int indexOfMin();
148 <        /** Return the index of the maximum element, or -1 if empty */
148 >        /** Returns the index of the maximum element, or -1 if empty */
149          public int indexOfMax();
150 <        /** Return the sum of all elements */
150 >        /** Returns the sum of all elements */
151          public double sum();
152 <        /** Return the arithmetic average of all elements */
152 >        /** Returns the arithmetic average of all elements */
153          public double average();
154      }
155  
# Line 922 | Line 922 | public class ParallelDoubleArray extends
922      }
923  
924      /**
925 <     * Make len slots available at index
925 >     * Makes len slots available at index.
926       */
927      final void insertSlotsAt(int index, int len) {
928          if (len <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines