136 |
|
/** |
137 |
|
* Returns the computed result, without waiting. |
138 |
|
* |
139 |
< |
* <p> This method is for cases where the caller knows that the task has |
139 |
> |
* <p>This method is for cases where the caller knows that the task has |
140 |
|
* already completed successfully, for example when filtering a stream |
141 |
|
* of Future objects for the successful tasks and using a mapping |
142 |
|
* operation to obtain a stream of results. |
180 |
|
/** |
181 |
|
* Returns the exception thrown by the task, without waiting. |
182 |
|
* |
183 |
< |
* <p> This method is for cases where the caller knows that the task |
183 |
> |
* <p>This method is for cases where the caller knows that the task |
184 |
|
* has already completed with an exception. |
185 |
|
* |
186 |
|
* @implSpec |