@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + selected;
		result = prime * result + Arrays.hashCode(values);
		return result;
	}
Sets the current value to the object at the given position as if indexed
into the array returned by getValues().
Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/StringChoices.java