Android 源码中的一个写法


这种写法


public interface RunnableFuture<V> extends Runnable, Future<V> {

    /**
     * Sets this Future to the result of its computation
     * unless it has been cancelled.
     */
    void run();
}

你可能感兴趣的:(Android 源码中的一个写法)