toList

stream根据条件过滤List
newArrayListuserList=newArrayListfilterUser.contains(item.getName())//与filterUser中名字一样的数据会保留下来).collect(Collectors.toList
弓长张&木子李·2019-11-21 12:00