public boolean adjacent(Interval other) {
		return this.a == other.b+1 || this.b == other.a-1;
	}
Are two intervals adjacent such as 0..41 and 42..42?
runtime/Java/src/org/antlr/v4/runtime/misc/Interval.java