@SafeVarargs
    static <T> Seq<T> concat(Seq<? extends T>... streams) {
        if (streams == null || streams.length == 0)
            return Seq.empty();

        if (streams.length == 1)
            return seq(streams[0]);

        Stream<? extends T> result = streams[0];
        for (int i = 1; i < streams.length; i++)
            result = Stream.concat(result, streams[i]);

        return seq(result);
    }
Concatenate a number of streams.
<p>
<pre><code>
// (1, 2, 3, 4, 5, 6)
Seq.of(1, 2, 3).concat(Seq.of(4, 5, 6))
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Seq.java