[java] How to convert a List<String> into a comma separated string without iterating List explicitly