ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ExecutorService.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ExecutorService.java (file contents):
Revision 1.60 by jsr166, Mon Feb 11 08:09:36 2013 UTC vs.
Revision 1.61 by jsr166, Thu Jul 18 17:13:42 2013 UTC

# Line 198 | Line 198 | public interface ExecutorService extends
198       * {@link Callable} form so they can be submitted.
199       *
200       * @param task the task to submit
201 +     * @param <T> the type of the task's result
202       * @return a Future representing pending completion of the task
203       * @throws RejectedExecutionException if the task cannot be
204       *         scheduled for execution
# Line 212 | Line 213 | public interface ExecutorService extends
213       *
214       * @param task the task to submit
215       * @param result the result to return
216 +     * @param <T> the type of the result
217       * @return a Future representing pending completion of the task
218       * @throws RejectedExecutionException if the task cannot be
219       *         scheduled for execution
# Line 243 | Line 245 | public interface ExecutorService extends
245       * collection is modified while this operation is in progress.
246       *
247       * @param tasks the collection of tasks
248 +     * @param <T> the type of the values returned from the tasks
249       * @return a list of Futures representing the tasks, in the same
250       *         sequential order as produced by the iterator for the
251       *         given task list, each of which has completed
# Line 270 | Line 273 | public interface ExecutorService extends
273       * @param tasks the collection of tasks
274       * @param timeout the maximum time to wait
275       * @param unit the time unit of the timeout argument
276 +     * @param <T> the type of the values returned from the tasks
277       * @return a list of Futures representing the tasks, in the same
278       *         sequential order as produced by the iterator for the
279       *         given task list. If the operation did not time out,
# Line 295 | Line 299 | public interface ExecutorService extends
299       * collection is modified while this operation is in progress.
300       *
301       * @param tasks the collection of tasks
302 +     * @param <T> the type of the values returned from the tasks
303       * @return the result returned by one of the tasks
304       * @throws InterruptedException if interrupted while waiting
305       * @throws NullPointerException if tasks or any element task
# Line 319 | Line 324 | public interface ExecutorService extends
324       * @param tasks the collection of tasks
325       * @param timeout the maximum time to wait
326       * @param unit the time unit of the timeout argument
327 +     * @param <T> the type of the values returned from the tasks
328       * @return the result returned by one of the tasks
329       * @throws InterruptedException if interrupted while waiting
330       * @throws NullPointerException if tasks, or unit, or any element

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines