default Seq<Window<T>> window(Comparator<? super T> orderBy, long lower, long upper) {
        return window(Window.of(orderBy, lower, upper)).map(t -> t.v1);
    }
Map this stream to a windowed stream using the default partition and a specific order with frame.
<p>
<pre><code>
// (1, 1, 3, 2, 2)
Seq.of(1, 2, 4, 2, 3).window(naturalOrder(), -1, 1).map(Window::min)
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Seq.java