@Override
	public int getChoice(Settings settings) {
		if (settings == null) {
			return DEFAULT;
		}
		Long value = settings.getLong(ADDRESS_RANGE_ENDPOINT);
		if (value == null || value < 0 || value >= CHOICES.length) {
			return DEFAULT;
		}
		return value.intValue();
	}
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