LinkedList<T> buffer(boolean test) {
                return test ? buffer1 : buffer2;
            }
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