docs: public static <T> Stream<T> buildStream(Enumeration<T> enumeration) {
          return buildStream(new Iterator<T>() {
              @Override
              public boolean hasNext() {
                  return enumeration.hasMoreElements();
              }
  
              @Override
              public T next() {
                  return enumeration.nextElement();
              }
          });
      }