java8 集合对象求差集、交集
//交集 List<TFridCard> list = cardLiStIn.stream().filter(item ->msgModel.getPayload().stream().map(e -> e.getTagname()).collect(Collectors.toList()).contains(item.getUniqueCode())).collect(Collectors.toList()); //差集 List<TFridCard> list = cardLiStOut.stream().filter(item -> !msgModel.getPayload().stream().map(e -> e.getTagname()).collect(Collectors.toList()).contains(item.getUniqueCode())).collect(Collectors.toList());