@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		StringChoices other = (StringChoices) obj;
		if (selected != other.selected) {
			return false;
		}
		if (!Arrays.equals(values, other.values)) {
			return false;
		}
		return true;
	}
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