Example usage for Java org.antlr.v4.runtime.misc Interval fields, constructors, methods, implement or subclass
The text is from its open source code.
int | length() return number of elements between a and b inclusively. |
Interval | of(int a, int b) Interval objects are used readonly so share all with the same single value a==b up to some max size. |
boolean | startsAfter(Interval other) Does this.a start after other.b? |