@Override
	public void setChoice(Settings settings, int value) {
		if (value < DEFAULT) {
			settings.clearSetting(ADDRESS_RANGE_ENDPOINT);
		}
		else {
			if (value > CHOICES.length) {
				value = CHOICES.length;
			}
			settings.setLong(ADDRESS_RANGE_ENDPOINT, value);
		}

	}
A class for selecting whether to use the min address or the max address of an 
 {@link AddressRange} for address range table columns
Ghidra/Features/Base/src/main/java/ghidra/util/table/field/AddressRangeEndpointSettingsDefinition.java