protected void initFromSizeList(String str) throws XmlParseException {
		String[] numStrings = str.split(" +|,");
		sizes = new HashSet<Integer>();
		minSize = Integer.MAX_VALUE;
		maxSize = 0;
		for (String valString : numStrings) {
			int val = Integer.parseInt(valString);
			if (val <= 0) {
				throw new XmlParseException("Bad filter size");
			}
			sizes.add(val);
			if (val < minSize) {
				minSize = val;
			}
			if (val > maxSize) {
				maxSize = val;
			}
		}
		if (sizes.isEmpty()) {
			sizes = null;
			minSize = 0;
			maxSize = 0;
		}
	}
Parse the given string as a comma or space separated list of decimal integers,
populating the sizes set.
@param str is the given string to parse
@throws XmlParseException if the string does not valid (positive) integers
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/SizeRestrictedFilter.java