docs: public <R> Stream<R> map(Function<? super T, ? extends R> mapper) {
          List<R> list = new ArrayList<R>();
          while (iterator.hasNext()) {
              list.add(mapper.apply(iterator.next()));
          }
          return Stream.of(list);
      }