static <T> Seq<T> seq(Enumeration<T> enumeration) {
        if (enumeration == null)
            return Seq.empty();
        
        return Seq.seq(new Iterator<T>() {
            @Override
            public boolean hasNext() {
                return enumeration.hasMoreElements();
            }

            @Override
            public T next() {
                return enumeration.nextElement();
            }
        });
    }
Wrap an <code>Enumeration</code> into a <code>Seq</code>.
jOOL-java-8/src/main/java/org/jooq/lambda/Seq.java