Back to project page xing-android-sdk.
The source code is released under:
Apache License
If you think the Android project xing-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.hdodenhof.xingapi.internal.util; //w w w . j av a 2 s. c om import java.util.List; public class URLUtils { public static <T> String toQueryParam(List<T> list) { if (list != null && !list.isEmpty()) { StringBuilder sb = new StringBuilder(); for (T elem : list) { sb.append(elem.toString()); sb.append(","); } sb.setLength(sb.length() - 1); return sb.toString(); } return null; } }