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

Comparing jsr166/src/extra166y/ParallelArray.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 273 | Line 273 | public class ParallelArray<T> extends Ab
273       * mapped ParallelArray.
274       */
275      public static interface SummaryStatistics<T> {
276 <        /** Return the number of elements */
276 >        /** Returns the number of elements */
277          public int size();
278 <        /** Return the minimum element, or null if empty */
278 >        /** Returns the minimum element, or null if empty */
279          public T min();
280 <        /** Return the maximum element, or null if empty */
280 >        /** Returns the maximum element, or null if empty */
281          public T max();
282 <        /** Return the index of the minimum element, or -1 if empty */
282 >        /** Returns the index of the minimum element, or -1 if empty */
283          public int indexOfMin();
284 <        /** Return the index of the maximum element, or -1 if empty */
284 >        /** Returns the index of the maximum element, or -1 if empty */
285          public int indexOfMax();
286      }
287  
288      /**
289 <     * Returns the executor used for computations
289 >     * Returns the executor used for computations.
290       * @return the executor
291       */
292      public ForkJoinPool getExecutor() { return ex; }
# Line 1096 | Line 1096 | public class ParallelArray<T> extends Ab
1096      }
1097  
1098      /**
1099 <     * Make len slots available at index
1099 >     * Makes len slots available at index.
1100       */
1101      final void insertSlotsAt(int index, int len) {
1102          if (len <= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines