@Override
	public Object[] toArray() {
		return elements.toArray();
	}
Return the List holding list of table elements.  Note that you are
 NOT getting a copy so don't write to the list.
runtime/Java/src/org/antlr/v4/runtime/misc/OrderedHashSet.java