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

Comparing jsr166/src/main/java/util/concurrent/Future.java (file contents):
Revision 1.13 by dl, Sat Sep 13 18:51:11 2003 UTC vs.
Revision 1.14 by dl, Sat Sep 27 12:22:40 2003 UTC

# Line 73 | Line 73 | public interface Future<V> extends Cance
73       * to complete, and then retrieves its result.
74       *
75       * @param timeout the maximum time to wait
76 <     * @param granularity the time unit of the timeout argument
76 >     * @param unit the time unit of the timeout argument
77       * @return computed result
78       * @throws ExecutionException if underlying computation threw an
79       * exception
# Line 81 | Line 81 | public interface Future<V> extends Cance
81       * while waiting
82       * @throws TimeoutException if the wait timed out
83       */
84 <    V get(long timeout, TimeUnit granularity)
84 >    V get(long timeout, TimeUnit unit)
85          throws InterruptedException, ExecutionException, TimeoutException;
86   }
87  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines