Java java.util.concurrent RunnableFuture fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent RunnableFuture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent RunnableFuture.

The text is from its open source code.

Implementation

java.util.concurrent.RunnableFuture has the following implementations.
Click this link to see all its implementation.

Method

booleancancel(boolean mayInterruptIfRunning)
Attempts to cancel execution of this task.
Vget()
Waits if necessary for the computation to complete, and then retrieves its result.
booleanisDone()
Returns true if this task completed.
voidrun()
Sets this Future to the result of its computation unless it has been cancelled.
StringtoString()
Returns a string representation of the object.