void fetch() {
                while (buffer(b).isEmpty() && it.hasNext()) {
                    T next = it.next();
                    buffer(predicate.test(next)).offer(next);
                }
            }
Partition a stream into two given a predicate.
<p>
<pre><code>
// tuple((1, 3, 5), (2, 4, 6))
Seq.of(1, 2, 3, 4, 5, 6).partition(i -> i % 2 != 0)
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Seq.java