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
相關文章
相關標籤/搜索