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

Comparing jsr166/src/main/java/util/concurrent/CompletionService.java (file contents):
Revision 1.3 by dl, Sat Dec 20 17:05:27 2003 UTC vs.
Revision 1.4 by dl, Sun Dec 21 12:24:48 2003 UTC

# Line 36 | Line 36 | public interface CompletionService<V> {
36       * @return a Future representing pending completion of the task
37       * @throws RejectedExecutionException if task cannot be scheduled
38       * for execution
39 +     * @throws NullPointerException if task null    
40       */
41      Future<V> submit(Callable<V> task);
42  
# Line 52 | Line 53 | public interface CompletionService<V> {
53       * upon completion
54       * @throws RejectedExecutionException if task cannot be scheduled
55       * for execution
56 +     * @throws NullPointerException if task null    
57       */
58      Future<V> submit(Runnable task, V result);
59  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines