1328 |
|
} |
1329 |
|
|
1330 |
|
/** |
1331 |
< |
* Adaptor for Runnables. This implements RunnableFuture |
1331 |
> |
* Adapter for Runnables. This implements RunnableFuture |
1332 |
|
* to be compliant with AbstractExecutorService constraints |
1333 |
|
* when used in ForkJoinPool. |
1334 |
|
*/ |
1349 |
|
} |
1350 |
|
|
1351 |
|
/** |
1352 |
< |
* Adaptor for Runnables without results |
1352 |
> |
* Adapter for Runnables without results |
1353 |
|
*/ |
1354 |
|
static final class AdaptedRunnableAction extends ForkJoinTask<Void> |
1355 |
|
implements RunnableFuture<Void> { |
1366 |
|
} |
1367 |
|
|
1368 |
|
/** |
1369 |
< |
* Adaptor for Callables |
1369 |
> |
* Adapter for Callables |
1370 |
|
*/ |
1371 |
|
static final class AdaptedCallable<T> extends ForkJoinTask<T> |
1372 |
|
implements RunnableFuture<T> { |