例如:
// 过滤数据库中不存在的用户
userIdList = userIdList.stream().filter(
userId -> userService.get(userId) != null
).collect(Collectors.toList());
例如:
// 过滤数据库中不存在的用户
userIdList = userIdList.stream().filter(
userId -> userService.get(userId) != null
).collect(Collectors.toList());