public Optional<Range<T>> intersect(T lowerInclusive, T upperInclusive) {
        return intersect(new Range<>(lowerInclusive, upperInclusive));
    }
The intersection of two ranges.
<p>
<pre><code>
// (2, 3)
range(1, 3).intersect(2, 4)

// none
range(1, 3).intersect(5, 8)
</code></pre>
jOOL/src/main/java/org/jooq/lambda/tuple/Range.java