# | Line 186 | Line 186 | public class CancellableTask implements | |
---|---|---|
186 | * | |
187 | * <p><b>Sample Usage</b>. Here are fragments of an example subclass. | |
188 | * <pre> | |
189 | < | * class MyFutureTask<V> extends CancellableTask implements Future< |
190 | < | V> { |
189 | > | * class MyFutureTask<V> extends CancellableTask implements Future<V> { |
190 | * | |
191 | * MyFutureTask(Callable<V> callable) { | |
192 | * setRunnable(new InnerCancellableFuture<V>(callable)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |