antlr.v4.runtime.misc.IntervalSet

Undocumented in source.

Members

Classes

IntervalSet
class IntervalSet

This class implements the {@link IntSet} backed by a sorted array of non-overlapping intervals. It is particularly efficient for representing large collections of numbers, where the majority of elements appear as part of a sequential range of numbers that are all part of the set. For example, the set { 1, 2, 3, 4, 7, 8 } may be represented as { [1, 4], [7, 8] }.

Meta