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| Modifier and Type | Method and Description |
|---|---|
void |
run()
Sets this Future to the result of its computation
unless it has been cancelled.
|
void run()
run in interface RunnableThread.run()Dracula Javadoc Sample, Made with Allan Im.