ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/RecursiveAction.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/RecursiveAction.java (file contents):
Revision 1.1 by jsr166, Sat Jul 25 01:06:20 2009 UTC vs.
Revision 1.2 by jsr166, Wed Jul 29 02:35:48 2009 UTC

# Line 34 | Line 34 | package java.util.concurrent;
34   *   }
35   * }}</pre>
36   *
37 < * You could then sort anArray by creating {@code new SortTask(anArray, 0,
38 < * anArray.length-1) } and invoking it in a ForkJoinPool.
39 < * As a more concrete simple example, the following task increments
40 < * each element of an array:
37 > * You could then sort {@code anArray} by creating {@code new
38 > * SortTask(anArray, 0, anArray.length-1) } and invoking it in a
39 > * ForkJoinPool.  As a more concrete simple example, the following
40 > * task increments each element of an array:
41   *  <pre> {@code
42   * class IncrementTask extends RecursiveAction {
43   *   final long[] array; final int lo; final int hi;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines