docs: public static <T> BufferedIterator<T> buffered(Iterator<T> self) {
          if (self instanceof BufferedIterator) {
              return (BufferedIterator<T>) self;
          } else {
              return new IteratorBufferedIterator<T>(self);
          }
      }