code: public static <T> StreamEx<T> of(Enumeration<? extends T> enumeration) {
          return of(new Iterator<T>() {
              @Override
              public boolean hasNext() {
                  return enumeration.hasMoreElements();
              }
  
              @Override
              public T next() {
                  return enumeration.nextElement();
              }
          });
      }
docs: Returns a sequential, ordered {@link StreamEx} created from given
  {@link Enumeration}.
  
  <p>
  Use this method only if you cannot provide better Stream source (like
  {@code Collection} or {@code Spliterator}).
  
  @param <T> the type of enumeration elements
  @param enumeration an enumeration to create the stream from.
  @return the new stream
  @since 0.5.1