static <T> Seq<T> cycle(Seq<? extends T> stream) {
        return cycle(stream, -1);
    }
Repeat a stream infinitely.
<p>
<pre><code>
// (1, 2, 3, 1, 2, 3, ...)
Seq.of(1, 2, 3).cycle();
</code></pre>
jOOL/src/main/java/org/jooq/lambda/Seq.java