Most visited

Recently visited

Added in API level 9

RunnableFuture

public interface RunnableFuture
implements Runnable, Future<V>

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


FutureRunnable run方法的成功执行导致完成Future并允许访问其结果。

也可以看看:

Summary

Public methods

abstract void run()

将此Future设置为其计算结果,除非它已被取消。

Inherited methods

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

Public methods

run

Added in API level 9
void run ()

将此Future设置为其计算结果,除非它已被取消。

Hooray!