V- The result type returned by this Future's
public interface RunnableFuture<V> extends Runnable, Future<V>
Runnable. Successful execution of the
runmethod causes completion of the
Futureand allows access to its results.
|Modifier and Type||Method and Description|
Sets this Future to the result of its computation unless it has been cancelled.