overlaps method
- SpanEntity other
Implementation
bool overlaps(SpanEntity other) {
return (other.start < end && other.start >= start) ||
(other.end <= end && other.end >= start);
}
bool overlaps(SpanEntity other) {
return (other.start < end && other.start >= start) ||
(other.end <= end && other.end >= start);
}