Module java.base
Package java.util.concurrent

# Class FutureTask

=
public class FutureTask<V>
extends java.lang.Object
implements java.util.concurrent.RunnableFuture<V>

## Constructors

- =
  public FutureTask(java.lang.Runnable arg0, V arg1)
- =
  public FutureTask(java.util.concurrent.Callable<V> arg0)

## Methods

- =
  public boolean cancel(boolean arg0)
- =
  protected void done()
- =
  public java.lang.Throwable exceptionNow()
- =
  public V get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
- =
  public V get(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
- =
  public boolean isCancelled()
- =
  public boolean isDone()
- =
  public V resultNow()
- =
  public void run()
- =
  protected boolean runAndReset()
- =
  protected void set(V arg0)
- =
  protected void setException(java.lang.Throwable arg0)
- =
  public java.util.concurrent.Future.State state()
- =
  public java.lang.String toString()

## Summary

No differences.