public static List < String > normalizeHostNames ( Collection < String > names ) { List < String > resolvedIpAddresses = new ArrayList < String > ( names . size ( ) ) ; for ( String name : names ) { resolvedIpAddresses . add ( normalizeHostName ( name ) ) ; } return resolvedIpAddresses ; }
Given a collection of string representation of hosts return a list of corresponding IP addresses in the textual representation .