code: public Iterator<E> iterator() {
  
          return new Iterator<E>() {
  
              public boolean hasNext() {
                  return enumeration.hasMoreElements();
              }
  
              public E next() {
                  return enumeration.nextElement();
              }
  
              public void remove() {
                  throw new UnsupportedOperationException("IterableEnumeration does not support remove");
              }
          };
      }
docs: Returns an iterator wrapping the underlying enumeration