stringtemplateid=' 1,2,3,4,5 '; //字符串拆分string [ ] template idlist=template id.split (','); Long型数组listlongidlist=arrays.stream (template idlist ).map (s-long.parse long (s.trim ) ) ).collect ) coleler 输出结果:
stringtemplateid=' 1,2,3,4,5 '; //字符串拆分string [ ] template idlist=template id.split (','); Long型数组listlongidlist=arrays.stream (template idlist ).map (s-long.parse long (s.trim ) ) ).collect ) coleler 输出结果:
版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。