code: public static <T, S extends BaseStream<T, S>> Stream<T> wrap(S stream, ProgressBarBuilder pbb) {
          Spliterator<T> sp = wrap(stream.spliterator(), pbb);
          return StreamSupport.stream(sp, stream.isParallel());
      }
docs: Wraps a {@link Stream} so that when iterated, a progress bar is shown to track the traversal progress.
  For this function the progress bar can be fully customized by using a {@link ProgressBarBuilder}.
  @param stream Underlying stream (can be sequential or parallel)
  @param pbb An instance of a {@link ProgressBarBuilder}