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

Comparing jsr166/src/jsr166y/CountedCompleter.java (file contents):
Revision 1.20 by jsr166, Sun Nov 25 18:45:48 2012 UTC vs.
Revision 1.21 by jsr166, Sun Nov 25 18:54:50 2012 UTC

# Line 126 | Line 126 | package jsr166y;
126   *       op.apply(array[lo]);
127   *     tryComplete();
128   *   }
129 < * } }</pre>
129 > * }}</pre>
130   *
131   * This design can be improved by noticing that in the recursive case,
132   * the task has nothing to do after forking its right task, so can
# Line 291 | Line 291 | package jsr166y;
291   *     return new MapReducer<E>(null, array, mapper, reducer,
292   *                              0, array.length).invoke();
293   *   }
294 < * } }</pre>
294 > * }}</pre>
295   *
296   * Here, method {@code onCompletion} takes a form common to many
297   * completion designs that combine results. This callback-style method

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines