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

Comparing jsr166/src/main/java/util/concurrent/AbstractExecutorService.java (file contents):
Revision 1.8 by dl, Tue Dec 16 12:58:20 2003 UTC vs.
Revision 1.9 by dl, Wed Dec 17 17:00:24 2003 UTC

# Line 252 | Line 252 | public abstract class AbstractExecutorSe
252      }
253  
254  
255 <    public <T> List<Future<T>> invokeAll(List<Runnable> tasks, T result)
255 >    public <T> List<Future<T>> invokeAll(Collection<Runnable> tasks, T result)
256          throws InterruptedException {
257          if (tasks == null)
258              throw new NullPointerException();
# Line 282 | Line 282 | public abstract class AbstractExecutorSe
282          }
283      }
284  
285 <    public <T> List<Future<T>> invokeAll(List<Runnable> tasks, T result,
285 >    public <T> List<Future<T>> invokeAll(Collection<Runnable> tasks, T result,
286                                           long timeout, TimeUnit unit)
287          throws InterruptedException {
288          if (tasks == null || unit == null)
# Line 322 | Line 322 | public abstract class AbstractExecutorSe
322          }
323      }
324  
325 <    public <T> List<Future<T>> invokeAll(List<Callable<T>> tasks)
325 >    public <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks)
326          throws InterruptedException {
327          if (tasks == null)
328              throw new NullPointerException();
# Line 352 | Line 352 | public abstract class AbstractExecutorSe
352          }
353      }
354  
355 <    public <T> List<Future<T>> invokeAll(List<Callable<T>> tasks,
355 >    public <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks,
356                                           long timeout, TimeUnit unit)
357          throws InterruptedException {
358          if (tasks == null || unit == null)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines