@return true if the task completed (has a result, an error, or was cancelled. false otherwise.
()
| 110 | * {@code false} otherwise. |
| 111 | */ |
| 112 | public boolean isCompleted() { |
| 113 | synchronized (lock) { |
| 114 | return complete; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * @return {@code true} if the task was cancelled, {@code false} otherwise. |
no outgoing calls