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; |
109 |
|
* if (right.tryUnfork()) // directly calculate if not stolen |
110 |
|
* sum += right.atLeaf(right.lo, right.hi); |
111 |
|
* else { |
112 |
< |
* right.helpJoin(); |
112 |
> |
* right.join(); |
113 |
|
* sum += right.result; |
114 |
|
* } |
115 |
|
* right = right.next; |
130 |
|
protected abstract void compute(); |
131 |
|
|
132 |
|
/** |
133 |
< |
* Always returns null. |
133 |
> |
* Always returns {@code null}. |
134 |
> |
* |
135 |
> |
* @return {@code null} always |
136 |
|
*/ |
137 |
|
public final Void getRawResult() { return null; } |
138 |
|
|