V - The result type returned by this Future's get methodpublic interface RunnableFuture<V> extends java.lang.Runnable, Future<V>
Future that is Runnable. Successful execution of the run method causes completion of the
Future and allows access to its results.Executor| Modifier and Type | Method and Description |
|---|---|
void |
run()
Sets this Future to the result of its computation unless it has been cancelled.
|