238 |
|
* |
239 |
|
* </dl> |
240 |
|
* |
241 |
< |
* <p> <b>Extension example</b>. Most extensions of this class |
241 |
> |
* <p><b>Extension example</b>. Most extensions of this class |
242 |
|
* override one or more of the protected hook methods. For example, |
243 |
|
* here is a subclass that adds a simple pause/resume feature: |
244 |
|
* |
1708 |
|
* present, thus causing it not to be run if it has not already |
1709 |
|
* started. |
1710 |
|
* |
1711 |
< |
* <p> This method may be useful as one part of a cancellation |
1711 |
> |
* <p>This method may be useful as one part of a cancellation |
1712 |
|
* scheme. It may fail to remove tasks that have been converted |
1713 |
|
* into other forms before being placed on the internal queue. For |
1714 |
|
* example, a task entered using {@code submit} might be |