boolean (@NotNull LongRangeSet other, LongRangeType lrType) { long leftMin = min(); long leftMax = max(); long rightMin = other.min(); long rightMax = other.max(); return lrType.subtractionMayOverflow(leftMin, rightMax) || lrType.subtractionMayOverflow(leftMax, rightMin); }