find distinct elements in List<List<String>> java code example
Example: java get distinct values from list
List<String> distinctElements = list.stream()
.distinct()
.collect(Collectors.toList());
List<String> distinctElements = list.stream()
.distinct()
.collect(Collectors.toList());