JDK8新特性之兩個字符串list去重,一行代碼搞定

List<String> sortNoList = Arrays.asList("1", "2", "3", "4", "6", "7", "8"); // 前端傳輸過來的sortNo List<String> forntSortList = Arrays.asList("2","5","8"); List<String> collect = sortNoList.stream().filte
相關文章
相關標籤/搜索