hg: lambda/lambda/jdk: Extract out part of CompletableFuture into an interface CompletionStage

paul.sandoz at oracle.com paul.sandoz at oracle.com
Tue Jul 9 00:59:10 PDT 2013


Changeset: e6af76f25062
Author:    psandoz
Date:      2013-07-09 09:58 +0200
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e6af76f25062

Extract out part of CompletableFuture into an interface CompletionStage
that defines the contract for performing addition actions without
disturbing th state of the CompletableFuture that causes an action.
Contributed-by: Doug Lea <dl at cs.oswego.edu>

! src/share/classes/java/util/concurrent/CompletableFuture.java
+ src/share/classes/java/util/concurrent/CompletionStage.java
! test/java/util/concurrent/CompletableFuture/Basic.java



More information about the lambda-dev mailing list