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

Comparing jsr166/src/jsr166e/CompletableFuture.java (file contents):
Revision 1.19 by jsr166, Sun Jul 14 19:55:05 2013 UTC vs.
Revision 1.20 by jsr166, Mon Jul 22 16:05:34 2013 UTC

# Line 1390 | Line 1390 | public class CompletableFuture<T> implem
1390       *
1391       * @param supplier a function returning the value to be used
1392       * to complete the returned CompletableFuture
1393 +     * @param <U> the function's return type
1394       * @return the new CompletableFuture
1395       */
1396      public static <U> CompletableFuture<U> supplyAsync(Generator<U> supplier) {
# Line 1408 | Line 1409 | public class CompletableFuture<T> implem
1409       * @param supplier a function returning the value to be used
1410       * to complete the returned CompletableFuture
1411       * @param executor the executor to use for asynchronous execution
1412 +     * @param <U> the function's return type
1413       * @return the new CompletableFuture
1414       */
1415      public static <U> CompletableFuture<U> supplyAsync(Generator<U> supplier,
# Line 1460 | Line 1462 | public class CompletableFuture<T> implem
1462       * the given value.
1463       *
1464       * @param value the value
1465 +     * @param <U> the type of the value
1466       * @return the completed CompletableFuture
1467       */
1468      public static <U> CompletableFuture<U> completedFuture(U value) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines