@SuppressWarnings("unchecked")
    static <T> SeqBuffer<T> of(Stream<? extends T> stream) {
        return of((Spliterator<T>) stream.spliterator());
    }
Lazily consumes given <code>Spliterator</code> through <code>Seq</code>s provided by method <code>seq()</code>.
This method may be called multiple times, and the returned <code>Seq</code>s may be consumed interchangeably.

Instances of this class ARE thread-safe.

@author Tomasz Linkowski
jOOL-java-8/src/main/java/org/jooq/lambda/SeqBuffer.java