The Javadoc for Future implies that isDone() is always true if isCancelled() is true.
Returns true if this task completed. Completion may be due to normal termination, an exception, or cancellation -- in all of these cases, this method will return true.
The Javadoc for Future implies that
isDone()
is always true ifisCancelled()
is true.https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html#isDone--