243 |
|
* collection is modified while this operation is in progress. |
244 |
|
* |
245 |
|
* @param tasks the collection of tasks |
246 |
< |
* @return A list of Futures representing the tasks, in the same |
246 |
> |
* @return a list of Futures representing the tasks, in the same |
247 |
|
* sequential order as produced by the iterator for the |
248 |
< |
* given task list, each of which has completed. |
248 |
> |
* given task list, each of which has completed |
249 |
|
* @throws InterruptedException if interrupted while waiting, in |
250 |
< |
* which case unfinished tasks are cancelled. |
250 |
> |
* which case unfinished tasks are cancelled |
251 |
|
* @throws NullPointerException if tasks or any of its elements are {@code null} |
252 |
|
* @throws RejectedExecutionException if any task cannot be |
253 |
|
* scheduled for execution |