java get distinct values from list
List<String> distinctElements = list.stream()
.distinct()
.collect(Collectors.toList());
Are there any code examples left?
New code examples in category Java
List<String> distinctElements = list.stream()
.distinct()
.collect(Collectors.toList());