Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.emory.mathcs.backport.java.util.concurrent
Interface RunnableFuture

All Superinterfaces:
  Future, java.lang.Runnable

All Known Subinterfaces:
  RunnableScheduledFuture

All Known Implementing Classes:
  FutureTask

public interface RunnableFuture
extends java.lang.Runnable, Future

A `Future` that is `Runnable`. Successful execution of the `run` method causes completion of the `Future` and allows access to its results.

Since:
  1.6
Author:
  Doug Lea
See Also:
  `FutureTask`, `Executor`

Method Summary
`void` | `run()` Sets this Future to the result of its computation unless it has been cancelled.

Methods inherited from interface edu.emory.mathcs.backport.java.util.concurrent.Future
`cancel, get, get, isCancelled, isDone`

Method Detail

### run

    public void run()

  Sets this Future to the result of its computation unless it has been cancelled.

  Specified by:
    `run` in interface `java.lang.Runnable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD