Converting a <Long> List to a Comma Separated String
Hi, I have a requirement when I need to convert List
from a Long
data type to comma separated String
. That would be a suitable way. I thought about using a string builder or converting it to List<String>
, and then using StringUtils
join to get String
.
I am looking for a solution java 7
without using guava
or java 8
.
+4
1 answer