code: public static <T> Stream<T> create(final Enumeration<? extends T> enumeration) {
          if (enumeration.hasMoreElements()) {
              return new IteratorStream<T>(Iterators.forEnumeration(enumeration));
          } else {
              return new EmptyStream<T>();
          }
      }
docs: Creates a new Stream over the elements returned by the supplied Enumeration.
  
  @param enumeration
  an Enumeration of non-null elements
  @param <T>
  the type of elements
  @return a Stream over the elements returned by the supplied Enumeration