public static io . scalecube . transport . Address [ ] toAddresses ( Address [ ] addresses ) { return Arrays . stream ( addresses ) . map ( ClusterAddresses :: toAddress ) . toArray ( io . scalecube . transport . Address [ ] :: new ) ; }
Converts one address array to another address array .