1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
package jsr166y; |
8 |
|
|
9 |
|
/** |
10 |
< |
* Recursive result-bearing ForkJoinTasks. |
11 |
< |
* <p> For a classic example, here is a task computing Fibonacci numbers: |
10 |
> |
* A recursive result-bearing {@link ForkJoinTask}. |
11 |
> |
* |
12 |
> |
* <p>For a classic example, here is a task computing Fibonacci numbers: |
13 |
|
* |
14 |
|
* <pre> {@code |
15 |
|
* class Fibonacci extends RecursiveTask<Integer> { |