public final static <T>Stream<T> completableFutureToStream(final CompletableFuture<T> future){
  return Stream.of(future.join());
}

public final static < T > Stream < T > completableFutureToStream ( final CompletableFuture < T > future ) { return Stream . of ( future . join ( ) ) ; }
convert a completablefuture to a stream
