java8新特性之逗号分隔字符串转List

业务背景:java 某个数据库字段,存储的是逗号分隔的id,多是Integer也多是Long型的,好比:1,2,3等;须要转换成Long型的List或者Integer型的List,怎么作更简便??数据库 见代码:oop //You can use the Lambda functions of Java 8 to achieve this without looping //来自:http://s
相关文章
相关标签/搜索