this should be Set<Range<Integer>> getPortRanges()

to parse this.. you need to do the following:

if you see a hyphen, it is a closed range:
ex. 
```
first = "12345-12349".substring(0, "12345-12349".indexOf('-'));
last = "12345-12349".substring("12345-12349".indexOf('-') +1);
add(Ranges.closed(Integer.parseInt(first),Integer.parseInt(last)))
```
if you see a plain number, it is a closed range of itself
ex
```
port = Integers.parseInt("22");
add(Ranges.closed(port, port))
```
if you see commas, add a closed range for each member
```
for (String portString: Splitter.on(',').split("80,443")){
   int port = Integers.parseInt(portString);
   add(Ranges.closed(port, port))
}
```