public static <T>FastFuture<T> fromCompletableFuture(final CompletableFuture<T> cf){
  final FastFuture<T> f=new FastFuture<>();
  cf.thenAccept(null);
  cf.exceptionally(null);
  return f;
}

public static < T > FastFuture < T > fromCompletableFuture ( final CompletableFuture < T > cf ) { final FastFuture < T > f = new FastFuture < > ( ) ; cf . thenAccept ( null ) ; cf . exceptionally ( null ) ; return f ; }
internal conversion method to convert completablefutures to fastfuture .
