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

Comparing jsr166/src/main/java/util/concurrent/CompletableFuture.java (file contents):
Revision 1.94 by jsr166, Thu Jul 18 01:36:08 2013 UTC vs.
Revision 1.95 by jsr166, Thu Jul 18 17:13:42 2013 UTC

# Line 2074 | Line 2074 | public class CompletableFuture<T> implem
2074       *
2075       * @param supplier a function returning the value to be used
2076       * to complete the returned CompletableFuture
2077 <     * @param <U> the type of the returned future's value
2077 >     * @param <U> the function's return type
2078       * @return the new CompletableFuture
2079       */
2080      public static <U> CompletableFuture<U> supplyAsync(Supplier<U> supplier) {
# Line 2093 | Line 2093 | public class CompletableFuture<T> implem
2093       * @param supplier a function returning the value to be used
2094       * to complete the returned CompletableFuture
2095       * @param executor the executor to use for asynchronous execution
2096 <     * @param <U> the type of the returned future's value
2096 >     * @param <U> the function's return type
2097       * @return the new CompletableFuture
2098       */
2099      public static <U> CompletableFuture<U> supplyAsync(Supplier<U> supplier,
# Line 2146 | Line 2146 | public class CompletableFuture<T> implem
2146       * the given value.
2147       *
2148       * @param value the value
2149 <     * @param <U> the type of the returned future's value
2149 >     * @param <U> the type of the value
2150       * @return the completed CompletableFuture
2151       */
2152      public static <U> CompletableFuture<U> completedFuture(U value) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines