code: public static <T> ListenableFuture<T> toListenableFuture(Single<T> single) {
          return SpringFutureUtils.createListenableFuture(RxJava2FutureUtils.createValueSource(single));
      }
docs: Converts  {@link io.reactivex.Single} to {@link ListenableFuture}.