ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/RunnableFuture.java
Revision: 1.5
Committed: Tue Feb 7 20:54:24 2006 UTC (18 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +0 -1 lines
Log Message:
6378729: Remove workaround for 6280605

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 dl 1.2 * A {@link Future} that is {@link Runnable}. Successful execution of
11     * the <tt>run</tt> method causes completion of the <tt>Future</tt>
12     * and allows access to its results.
13 peierls 1.1 * @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
18     */
19     public interface RunnableFuture<V> extends Runnable, Future<V> {
20 dl 1.2 /**
21     * Sets this Future to the result of its computation
22     * unless it has been cancelled.
23     */
24     void run();
25 peierls 1.1 }