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

Comparing jsr166/src/main/java/util/concurrent/Future.java (file contents):
Revision 1.8 by tim, Fri Aug 8 20:05:07 2003 UTC vs.
Revision 1.9 by tim, Tue Aug 19 15:04:57 2003 UTC

# Line 45 | Line 45 | package java.util.concurrent;
45   * @editor $Author$
46   * @author Doug Lea
47   */
48 < public interface Future<V> {
49 <
50 <    /**
51 <     * Returns <tt>true</tt> if the underlying task has completed.
52 <     *
53 <     * Completion may be due to normal termination, an exception, or
54 <     * cancellation -- in all of these cases, this method will return
55 <     * <tt>true</tt>.
56 <     *
57 <     * @return <tt>true</tt> if the underlying task has completed
58 <     */
59 <    boolean isDone();
48 > public interface Future<V> extends Cancellable {
49  
50      /**
51       * Waits if necessary for computation to complete, and then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines