func (grp GroupedPortRanges) UniquePortRanges() []PortRange {
	var allPorts []PortRange
	for _, portRanges := range grp {
		allPorts = append(allPorts, portRanges...)
	}
	uniquePortRanges := UniquePortRanges(allPorts)
	SortPortRanges(uniquePortRanges)
	return uniquePortRanges
}
// UniquePortRanges returns the unique set of PortRanges in this group.
UniquePortRanges returns the unique set of PortRanges in this group.
// UniquePortRanges returns the unique set of PortRanges in this group .
func (grp GroupedPortRanges) UniquePortRanges() []PortRange {
	var allPorts []PortRange
	for _, portRanges := range grp {
		allPorts = append(allPorts, portRanges...)
	}
	uniquePortRanges := UniquePortRanges(allPorts)
	SortPortRanges(uniquePortRanges)
	return uniquePortRanges
}
func ( grp GroupedPortRanges ) UniquePortRanges ( ) [ ] PortRange { var allPorts [ ] PortRange for _ , portRanges := range grp { allPorts = append ( allPorts , portRanges ... ) } uniquePortRanges := UniquePortRanges ( allPorts ) SortPortRanges ( uniquePortRanges ) return uniquePortRanges }
UniquePortRanges returns the unique set of PortRanges in this group.
UniquePortRanges returns the unique set of PortRanges in this group .