public boolean overlapsWith ( final IndexRange other ) { Objects . requireNonNull ( other , "other" ) ; return end > other . start && other . end > start ; }
Determines whether this range overlaps with the given other one .