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