# | Line 19 | Line 19 | import java.util.*; | |
---|---|---|
19 | * to return <tt>RunnableFuture</tt> implementations other than | |
20 | * <tt>FutureTask</tt>. | |
21 | * | |
22 | < | * <p> <b>Extension example</b>. Here is a sketch of a class |
22 | > | * <p><b>Extension example</b>. Here is a sketch of a class |
23 | * that customizes {@link ThreadPoolExecutor} to use | |
24 | * a <tt>CustomTask</tt> class instead of the default <tt>FutureTask</tt>: | |
25 | * <pre> {@code |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |