code: 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;
    }
docs: Does this interval intersect that one?
  
  @return true, if intervals share at least one point