Skip to content

Most visited

Recently visited

navigation

RunnableFuture

public interface RunnableFuture
implements Runnable, Future<V>

java.util.concurrent.RunnableFuture<V>
Known Indirect Subclasses


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

See also:

Summary

Public methods

abstract void run()

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

Inherited methods

From interface java.lang.Runnable
From interface java.util.concurrent.Future

Public methods

run

Added in API level 9
void run ()

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

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.