# | Line 56 | Line 56 | public class FutureTask<V> implements Ru | |
---|---|---|
56 | * @param result the result to return on successful completion. If | |
57 | * you don't need a particular result, consider using | |
58 | * constructions of the form: | |
59 | < | * {@code Future<?> f = new FutureTask<Object>(runnable, null)} |
59 | > | * {@code Future<?> f = new FutureTask<Void>(runnable, null)} |
60 | * @throws NullPointerException if runnable is null | |
61 | */ | |
62 | public FutureTask(Runnable runnable, V result) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |