code: public static <T> DStreamJavaFunctions<T> javaFunctions(JavaDStream<T> dStream) {
          return new DStreamJavaFunctions<>(dStream.dstream());
      }
docs: A static factory method to create a {@link DStreamJavaFunctions} based on an existing
  {@link JavaDStream} instance.