03 2022 档案
摘要:根据姓名去除list中已包含的该姓名的数据list = list.stream().filter(one-> !one.getUserInfo().contains(one.getName())).collect(Collectors.toList());遍历mapmap.forEach((k.v)
阅读全文
摘要:int[] data = {4, 5, 3, 6, 2, 5, 1}; // int[] 转 List<Integer> List<Integer> list1 = Arrays.stream(data).boxed().collect(Collectors.toList()); // Arrays
阅读全文