public static List<String> deserializeAddressList(String serializedAddresses){
  return Arrays.asList(serializedAddresses.split(","));
}

public static List < String > deserializeAddressList ( String serializedAddresses ) { return Arrays . asList ( serializedAddresses . split ( "," ) ) ; }
deserialize a list of ip addresses from a string .
