Uses of Class
org.antlr.misc.Interval
Packages that use Interval
-
Uses of Interval in org.antlr.misc
Fields in org.antlr.misc declared as IntervalFields in org.antlr.misc with type parameters of type IntervalMethods in org.antlr.misc that return IntervalModifier and TypeMethodDescriptionstatic IntervalInterval.create(int a, int b) Interval objects are used readonly so share all with the same single value a==b up to some max size.Interval.differenceNotProperlyContained(Interval other) Return the interval with elements from this not in other; other must not be totally enclosed (properly contained) within this, which would result in two disjoint intervals instead of the single one returned by this method.Interval.intersection(Interval other) Return the interval in common between this and oReturn the interval computed from combining this and otherMethods in org.antlr.misc that return types with arguments of type IntervalMethods in org.antlr.misc with parameters of type IntervalModifier and TypeMethodDescriptionprotected voidbooleanAre two intervals adjacent such as 0..41 and 42..42?Interval.differenceNotProperlyContained(Interval other) Return the interval with elements from this not in other; other must not be totally enclosed (properly contained) within this, which would result in two disjoint intervals instead of the single one returned by this method.booleanAre both ranges disjoint? I.e., no overlap?Interval.intersection(Interval other) Return the interval in common between this and obooleanInterval.properlyContains(Interval other) booleanInterval.startsAfter(Interval other) Does this.a start after other.b? May or may not be disjointbooleanInterval.startsAfterDisjoint(Interval other) Does this start completely after other? DisjointbooleanInterval.startsAfterNonDisjoint(Interval other) Does this start after other? NonDisjointbooleanInterval.startsBeforeDisjoint(Interval other) Does this start completely before other? DisjointbooleanInterval.startsBeforeNonDisjoint(Interval other) Does this start at or before other? NondisjointReturn the interval computed from combining this and otherConstructor parameters in org.antlr.misc with type arguments of type Interval