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

Comparing jsr166/src/extra166y/ParallelLongArray.java (file contents):
Revision 1.4 by jsr166, Mon Dec 5 04:08:47 2011 UTC vs.
Revision 1.5 by jsr166, Tue Feb 21 01:54:03 2012 UTC

# Line 177 | Line 177 | public class ParallelLongArray extends A
177       * mapped ParallelLongArray.
178       */
179      public static interface SummaryStatistics {
180 <        /** Return the number of elements */
180 >        /** Returns the number of elements */
181          public int size();
182 <        /** Return the minimum element, or Long.MAX_VALUE if empty */
182 >        /** Returns the minimum element, or Long.MAX_VALUE if empty */
183          public long min();
184 <        /** Return the maximum element, or Long.MIN_VALUE if empty */
184 >        /** Returns the maximum element, or Long.MIN_VALUE if empty */
185          public long max();
186 <        /** Return the index of the minimum element, or -1 if empty */
186 >        /** Returns the index of the minimum element, or -1 if empty */
187          public int indexOfMin();
188 <        /** Return the index of the maximum element, or -1 if empty */
188 >        /** Returns the index of the maximum element, or -1 if empty */
189          public int indexOfMax();
190 <        /** Return the sum of all elements */
190 >        /** Returns the sum of all elements */
191          public long sum();
192 <        /** Return the arithmetic average of all elements */
192 >        /** Returns the arithmetic average of all elements */
193          public double average();
194      }
195  
# Line 965 | Line 965 | public class ParallelLongArray extends A
965      }
966  
967      /**
968 <     * Make len slots available at index
968 >     * Makes len slots available at index.
969       */
970      final void insertSlotsAt(int index, int len) {
971          if (len <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines