40 |
|
* |
41 |
|
* static class CustomTask<V> implements RunnableScheduledFuture<V> { ... } |
42 |
|
* |
43 |
< |
* <V> protected RunnableScheduledFuture<V> decorateTask( |
43 |
> |
* protected <V> RunnableScheduledFuture<V> decorateTask( |
44 |
|
* Runnable r, RunnableScheduledFuture<V> task) { |
45 |
|
* return new CustomTask<V>(r, task); |
46 |
|
* } |
47 |
|
* |
48 |
< |
* <V> protected RunnableScheduledFuture<V> decorateTask( |
49 |
< |
* Callable c, RunnableScheduledFuture<V> task) { |
48 |
> |
* protected <V> RunnableScheduledFuture<V> decorateTask( |
49 |
> |
* Callable<V;gt; c, RunnableScheduledFuture<V> task) { |
50 |
|
* return new CustomTask<V>(c, task); |
51 |
|
* } |
52 |
|
* // ... add constructors, etc. |