public final static <T>CompletableFuture<List<T>> streamToCompletableFuture(final Stream<T> stream){
  return CompletableFuture.completedFuture(stream.collect(CyclopsCollectors.toListX()));
}

public final static < T > CompletableFuture < List < T > > streamToCompletableFuture ( final Stream < T > stream ) { return CompletableFuture . completedFuture ( stream . collect ( CyclopsCollectors . toListX ( ) ) ) ; }
create a completablefuture containing a list materialized from a stream
