public Set<Integer> toSet() {
		Set<Integer> s = new HashSet<Integer>();
		for (Interval I : intervals) {
			int a = I.a;
			int b = I.b;
			for (int v=a; v<=b; v++) {
				s.add(v);
			}
		}
		return s;
	}
@deprecated Use {@link #elementName(Vocabulary, int)} instead.
runtime/Java/src/org/antlr/v4/runtime/misc/IntervalSet.java