Let's invert this unit test semantically. Let's assume the user wants to match on ports 0, 17 or 96.
That means the mask on the wire is
```
ff ff ff fe ff ff ff ff
ff ff ff ff ff fd ff fe
```
and the python representation would be 
```python
set(range(0,128)) - set((0, 17,96))
```
and java would hide the complexity and be
```
OFPortMap.ofPorts(OFPort.of(0), OFPort.of(17), OFPort.of(96))
```