public boolean intersects ( Interval1D < V > other ) { if ( other . hi . compareTo ( this . lo ) < 0 ) { return false ; } if ( this . hi . compareTo ( other . lo ) < 0 ) { return false ; } return true ; }
Does this interval intersect that one?