docs: public static <T> Iterator<T> iterator(final Enumeration<T> enumeration) {
          return new Iterator<T>() {
              private T last;
  
              public boolean hasNext() {
                  return enumeration.hasMoreElements();
              }
  
              public T next() {
                  last = enumeration.nextElement();
                  return last;
              }
  
              public void remove() {
                  throw new UnsupportedOperationException("Cannot remove() from an Enumeration");
              }
          };
      }