Example usage for Java org.antlr.v4.runtime.misc IntervalSet fields, constructors, methods, implement or subclass
The text is from its open source code.
IntervalSet | EMPTY_SET |
void | add(int el) Add a single element to the set. |
void | add(Interval addition) |
IntervalSet | addAll(IntSet set) |
boolean | contains(int el) |
List | getIntervals() Return a list of Interval objects. |
int | getMinElement() Returns the minimum value contained in the set if not isNil(). |
IntervalSet | of(int a) Create a set with a single element, el. |
IntervalSet | or(IntervalSet[] sets) combine all sets in the array returned the or'd value |
IntervalSet | or(IntSet a) |
void | remove(int el) |
int | size() |
List | toList() |
String | toString(boolean elemAreChar) |
String | toString(String[] tokenNames) |
String | toString(Vocabulary vocabulary) |