1 |
peierls |
1.1 |
/* |
2 |
|
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
|
* Expert Group and released to the public domain, as explained at |
4 |
|
|
* http://creativecommons.org/licenses/publicdomain |
5 |
|
|
*/ |
6 |
|
|
|
7 |
|
|
package java.util.concurrent; |
8 |
|
|
|
9 |
|
|
/** |
10 |
|
|
* A runnable that is also a future. |
11 |
|
|
* @see FutureTask |
12 |
|
|
* @see Executor |
13 |
|
|
* @since 1.6 |
14 |
|
|
* @author Doug Lea |
15 |
|
|
* @param <V> The result type returned by this Future's <tt>get</tt> method |
16 |
|
|
*/ |
17 |
|
|
public interface RunnableFuture<V> extends Runnable, Future<V> { |
18 |
|
|
} |
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|