stringjoiner可以添加整数嘛(StringUtils.join方法)
导读:join public static String...
join
public static String join(Object[]array)Joins the elements of the provided array into a single String
containing the provided list of elements.No separator is added to the joined String.
Null objects or empty strings within the array are represented by
empty strings. StringUtils.join(null) = null StringUtils.join([]) = "" StringUtils.join([null]) = "" StringUtils.join(["a", "b", "c"]) = "abc" StringUtils.join([null, "", "a"]) = "a"创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!