142 |
|
/** |
143 |
|
* Submits a value-returning task for execution and returns a |
144 |
|
* Future representing the pending results of the task. The |
145 |
< |
* Future's <tt>get</tt> method will return the given result upon |
145 |
> |
* Future's <tt>get</tt> method will return the task's result upon |
146 |
|
* <em>successful</em> completion. |
147 |
|
* |
148 |
|
* <p> |
180 |
|
/** |
181 |
|
* Submits a Runnable task for execution and returns a Future |
182 |
|
* representing that task. The Future's <tt>get</tt> method will |
183 |
< |
* return <tt>null>/tt> upon successful completion. |
183 |
> |
* return <tt>null</tt> upon successful completion. |
184 |
|
* |
185 |
|
* @param task the task to submit |
186 |
|
* @return a Future representing pending completion of the task |