## Uses of Interface
java.util.concurrent.RunnableFuture

- Packages that use RunnableFuture
  Package | Description
  --- | ---
  java.util.concurrent | Utility classes commonly useful in concurrent programming.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

- - ### Uses of RunnableFuture in java.util.concurrent

    Subinterfaces of RunnableFuture in java.util.concurrent
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `RunnableScheduledFuture<V>` | A `ScheduledFuture` that is `Runnable`.

    Classes in java.util.concurrent that implement RunnableFuture
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `FutureTask<V>` | A cancellable asynchronous computation.

    Methods in java.util.concurrent that return RunnableFuture
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected <T> RunnableFuture<T>` | AbstractExecutorService.`newTaskFor​(Runnable runnable, T value)` | Returns a `RunnableFuture` for the given runnable and default value.
    `protected <T> RunnableFuture<T>` | AbstractExecutorService.`newTaskFor​(Callable<T> callable)` | Returns a `RunnableFuture` for the given callable task.

  - ### Uses of RunnableFuture in javax.swing

    Classes in javax.swing that implement RunnableFuture
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SwingWorker<T,​V>` | An abstract class to perform lengthy GUI-interaction tasks in a background thread.