ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Cancellable.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Cancellable.java (file contents):
Revision 1.7 by dl, Tue Jun 24 14:34:47 2003 UTC vs.
Revision 1.8 by dl, Wed Aug 6 00:20:00 2003 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines