FileDocCategorySizeDatePackage
RunnableFuture.javaAPI DocJava SE 6 API732Tue Jun 10 00:25:56 BST 2008java.util.concurrent

RunnableFuture

public interface RunnableFuture implements Runnable, Future
A {@link Future} that is {@link Runnable}. Successful execution of the run method causes completion of the Future and allows access to its results.
see
FutureTask
see
Executor
since
1.6
author
Doug Lea
param
The result type returned by this Future's get method

Fields Summary
Constructors Summary
Methods Summary
public voidrun()
Sets this Future to the result of its computation unless it has been cancelled.