V
- The result type returned by this Future's get methodpublic interface RunnableFuture<V> extends Runnable, Future<V>
Future
that is Runnable
. Successful execution of
the run method causes completion of the Future
and allows access to its results.FutureTask
,
Executor
void run()
run
in interface Runnable
Thread.run()