当前位置:网站首页>List set to comma concatenated string

List set to comma concatenated string

2022-06-21 17:43:00 Gentleman jiejie

Use Google's Joiner transformation , Reference code :

List<Long> list = new ArrayList<>();
String result = Joiner.on(",").join(list);
原网站

版权声明
本文为[Gentleman jiejie]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211550219104.html