1408 |
|
} |
1409 |
|
|
1410 |
|
/** |
1411 |
< |
* Waits if necessary for the computation to complete, and then |
1411 |
> |
* Waits if necessary for this future to complete, and then |
1412 |
|
* returns its result. |
1413 |
|
* |
1414 |
|
* @return the result value |
1436 |
|
} |
1437 |
|
|
1438 |
|
/** |
1439 |
< |
* Waits if necessary for at most the given time for completion, |
1440 |
< |
* and then returns its result, if available. |
1439 |
> |
* Waits if necessary for at most the given time for this future |
1440 |
> |
* to complete, and then returns its result, if available. |
1441 |
|
* |
1442 |
|
* @param timeout the maximum time to wait |
1443 |
|
* @param unit the time unit of the timeout argument |