# | Line 51 | Line 51 | public interface Cancellable { | |
---|---|---|
51 | boolean isCancelled(); | |
52 | ||
53 | /** | |
54 | < | * Returns <tt>true</tt> if this task ran to completion or was cancelled. |
54 | > | * Returns <tt>true</tt> if this task completed. |
55 | * | |
56 | < | * @return <tt>true</tt> if task completed normally or was cancelled |
56 | > | * Completion may be due to normal termination, an exception, or |
57 | > | * cancellation -- in all of these cases, this method will return |
58 | > | * <tt>true</tt>. |
59 | > | * |
60 | > | * @return <tt>true</tt> if this task completed. |
61 | */ | |
62 | boolean isDone(); | |
63 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |