2468 |
|
* minimally only the latter. |
2469 |
|
* |
2470 |
|
* @param task the task |
2471 |
+ |
* @param <T> the type of the task's result |
2472 |
|
* @return the task's result |
2473 |
|
* @throws NullPointerException if the task is null |
2474 |
|
* @throws RejectedExecutionException if the task cannot be |
2517 |
|
* Submits a ForkJoinTask for execution. |
2518 |
|
* |
2519 |
|
* @param task the task to submit |
2520 |
+ |
* @param <T> the type of the task's result |
2521 |
|
* @return the task |
2522 |
|
* @throws NullPointerException if the task is null |
2523 |
|
* @throws RejectedExecutionException if the task cannot be |