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

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

# Line 171 | Line 171 | public class CancellableTask implements
171          protected InnerCancellableFuture(Callable<V> callable) {
172              this.callable = callable;
173          }
174 +        
175 +        public boolean cancel(boolean mayInterruptIfRunning) {
176 +            return CancellableTask.this.cancel(mayInterruptIfRunning);
177 +        }
178 +        
179 +        public boolean isCancelled() {
180 +            return CancellableTask.this.isCancelled();
181 +        }
182 +
183  
184          public boolean isDone() {
185              return CancellableTask.this.isDone();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines