startsAfterNonDisjoint method

bool startsAfterNonDisjoint(
  1. Interval other
)

Does this start after other? NonDisjoint */

Implementation

bool startsAfterNonDisjoint(Interval other) {
  return a > other.a && a <= other.b; // this.b>=other.b implied
}