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.37 by jsr166, Thu Aug 25 05:31:40 2005 UTC vs.
Revision 1.38 by jsr166, Thu Aug 25 19:28:17 2005 UTC

# Line 214 | Line 214 | public interface ExecutorService extends
214       * @throws RejectedExecutionException if any task cannot be
215       *         scheduled for execution
216       */
217 <    <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks)
217 >
218 >    <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
219          throws InterruptedException;
220  
221      /**
# Line 244 | Line 245 | public interface ExecutorService extends
245       * @throws RejectedExecutionException if any task cannot be scheduled
246       *         for execution
247       */
248 <    <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks,
248 >    <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks,
249                                    long timeout, TimeUnit unit)
250          throws InterruptedException;
251  
# Line 266 | Line 267 | public interface ExecutorService extends
267       * @throws RejectedExecutionException if tasks cannot be scheduled
268       *         for execution
269       */
270 <    <T> T invokeAny(Collection<Callable<T>> tasks)
270 >    <T> T invokeAny(Collection<? extends Callable<T>> tasks)
271          throws InterruptedException, ExecutionException;
272  
273      /**
# Line 291 | Line 292 | public interface ExecutorService extends
292       * @throws RejectedExecutionException if tasks cannot be scheduled
293       *         for execution
294       */
295 <    <T> T invokeAny(Collection<Callable<T>> tasks,
295 >    <T> T invokeAny(Collection<? extends Callable<T>> tasks,
296                      long timeout, TimeUnit unit)
297          throws InterruptedException, ExecutionException, TimeoutException;
298   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines