2495 |
|
* minimally only the latter. |
2496 |
|
* |
2497 |
|
* @param task the task |
2498 |
+ |
* @param <T> the type of the task's result |
2499 |
|
* @return the task's result |
2500 |
|
* @throws NullPointerException if the task is null |
2501 |
|
* @throws RejectedExecutionException if the task cannot be |
2544 |
|
* Submits a ForkJoinTask for execution. |
2545 |
|
* |
2546 |
|
* @param task the task to submit |
2547 |
+ |
* @param <T> the type of the task's result |
2548 |
|
* @return the task |
2549 |
|
* @throws NullPointerException if the task is null |
2550 |
|
* @throws RejectedExecutionException if the task cannot be |