public static <T>CompletableFuture<T> completedFuture(T result){
  return CompletableFuture.completedFuture(result);
}

public static < T > CompletableFuture < T > completedFuture ( T result ) { return CompletableFuture . completedFuture ( result ) ; }
creates a future that is synchronously completed .
