Remove a value with a specified index in values and this class notifies its listeners
index
void removeIndex(int i) { remove(values[i]); }