func ToProviderHostPorts(hps []HostPort) network.ProviderHostPorts {
	pHps := make(network.ProviderHostPorts, len(hps))
	for i, hp := range hps {
		pHps[i] = hp.ProviderHostPort()
	}
	return pHps
}
// ToProviderHostPorts transforms multiple Addresses into a
// ProviderHostPorts collection.
ToProviderHostPorts transforms multiple Addresses into a
ProviderHostPorts collection.
// ToProviderHostPorts transforms multiple Addresses into a // ProviderHostPorts collection .
func ToProviderHostPorts(hps []HostPort) network.ProviderHostPorts {
	pHps := make(network.ProviderHostPorts, len(hps))
	for i, hp := range hps {
		pHps[i] = hp.ProviderHostPort()
	}
	return pHps
}
func ToProviderHostPorts ( hps [ ] HostPort ) network . ProviderHostPorts { pHps := make ( network . ProviderHostPorts , len ( hps ) ) for i , hp := range hps { pHps [ i ] = hp . ProviderHostPort ( ) } return pHps }
ToProviderHostPorts transforms multiple Addresses into a
ProviderHostPorts collection.
ToProviderHostPorts transforms multiple Addresses into a ProviderHostPorts collection .