@return The result of the task, if set. null otherwise.
()
| 137 | * @return The result of the task, if set. {@code null} otherwise. |
| 138 | */ |
| 139 | public TResult getResult() { |
| 140 | synchronized (lock) { |
| 141 | return result; |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | /** |
| 146 | * @return The error for the task, if set. {@code null} otherwise. |
no outgoing calls