code: public static InetSocketAddress[] parseAddressList(String[] addresses) {
          InetSocketAddress[] isa = new InetSocketAddress[addresses.length];
          for (int x = 0; x < addresses.length; x++) {
              isa[x] = createInetSocketAddress(addresses[x]);
          }
          return isa;
      }
docs: <p>Creates an array of InetSocketAddress given an array of String</p>
  
  @param addresses the addresses, which may be a mixture of any of the formats supported by
  createInetSocketAddress(String address)