13 |
|
import java.util.List; |
14 |
|
|
15 |
|
/** |
16 |
< |
* A partial <tt>ExecutorService</tt> implementation. |
16 |
> |
* Provides default implementation of {@link ExecutorService} |
17 |
> |
* execution methods. This class implements the <tt>submit</tt> and |
18 |
> |
* <tt>invoke</tt> methods using the default {@link FutureTask} and |
19 |
> |
* {@link PrivilegedFutureTask} classes provided in this package. For |
20 |
> |
* example, the the implementation of <tt>submit(Runnable)</tt> |
21 |
> |
* creates an associated <tt>FutureTask</tt> that is executed and |
22 |
> |
* returned. Subclasses overriding these methods to use different |
23 |
> |
* {@link Future} implementations should do so consistently for each |
24 |
> |
* of these methods. |
25 |
|
* |
26 |
|
* @since 1.5 |
27 |
|
* @author Doug Lea |