List对象中的value值由根据业务拆分后又重复的,去重
Set<String> typeSet = customerAuthenticationList.stream()
.flatMap(item -> Arrays.asList(item.getAuthenticationType().split(",")).stream()).collect(Collectors.toSet());
list对象中的value值去重
或者
List<String> typeList = customerAuthenticationList.stream()
.flatMap(item -> Arrays.asList(item.getAuthenticationType().split(",")).stream().distinct()).collect(Collectors.toList());