public boolean remove(int i) {
		T o = elements.remove(i);
        return super.remove(o);
	}
Replace an existing value with a new value; updates the element
 list and the hash table, but not the key as that has not changed.
runtime/Java/src/org/antlr/v4/runtime/misc/OrderedHashSet.java