35 |
|
private final Sync sync; |
36 |
|
|
37 |
|
/** |
38 |
< |
* Constructs a <tt>FutureTask</tt> that will upon running, execute the |
38 |
> |
* Creates a <tt>FutureTask</tt> that will upon running, execute the |
39 |
|
* given <tt>Callable</tt>. |
40 |
|
* |
41 |
|
* @param callable the callable task |
48 |
|
} |
49 |
|
|
50 |
|
/** |
51 |
< |
* Constructs a <tt>FutureTask</tt> that will upon running, execute the |
51 |
> |
* Creates a <tt>FutureTask</tt> that will upon running, execute the |
52 |
|
* given <tt>Runnable</tt>, and arrange that <tt>get</tt> will return the |
53 |
|
* given result on successful completion. |
54 |
|
* |