code: public List<T> toList() {
          try {
              return StreamSupport.stream(Spliterators.spliteratorUnknownSize(this, Spliterator.ORDERED), false)
                      .collect(Collectors.toList());
          } finally {
              close();
          }
      }
docs: Try to avoid calling this method in production code, because it can have bad impact on performance
  <p>
  Note that this operation {@link #close() closes} this page.
  
  @return results in a list form