ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/RunnableFuture.java
Revision: 1.1
Committed: Tue May 17 04:17:05 2005 UTC (19 years ago) by peierls
Branch: MAIN
Log Message:
Overridable RunnableFuture creation for AbstractExecutorService.
OverridableRunnableScheduledFuture decoration for ScheduledThreadPoolExecutor.

File Contents

# User Rev Content
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