8 |
|
|
9 |
|
/** |
10 |
|
* A {@link Future} that is {@link Runnable}. Successful execution of |
11 |
< |
* the <tt>run</tt> method causes completion of the <tt>Future</tt> |
11 |
> |
* the {@code run} method causes completion of the {@code Future} |
12 |
|
* and allows access to its results. |
13 |
|
* @see FutureTask |
14 |
|
* @see Executor |
15 |
|
* @since 1.6 |
16 |
|
* @author Doug Lea |
17 |
< |
* @param <V> The result type returned by this Future's <tt>get</tt> method |
17 |
> |
* @param <V> The result type returned by this Future's {@code get} method |
18 |
|
*/ |
19 |
|
public interface RunnableFuture<V> extends Runnable, Future<V> { |
20 |
|
/** |