public static < U > CompletableFuture < U > completedFuture ( U value ) { return new CompletableFuture < U > ( ( value == null ) ? NIL : value ) ; }
Returns a new CompletableFuture that is already completed with the given value .