ListuserList = obituaryInfoVOS.stream() .filter(obituaryInfoVO -> !digitalAssetVOList.stream() .map(digitalAssetVO -> digitalAssetVO.getObituaryId()) .collect(Collectors.toList()) .contains(obituaryInfoVO.getId())) .collect(Collectors.toList());
ListuserList = obituaryInfoVOS.stream() .filter(obituaryInfoVO -> !digitalAssetVOList.stream() .map(digitalAssetVO -> digitalAssetVO.getObituaryId()) .collect(Collectors.toList()) .contains(obituaryInfoVO.getId())) .collect(Collectors.toList());