equals(other) {
    if (!this.isValid || !other.isValid) {
      return false;
    }

    return this.s.equals(other.s) && this.e.equals(other.e);
  }
Return whether this Interval has the same start and end as the specified Interval.
@param {Interval} other
@return {boolean}