Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java get distinct values from list

List<String> distinctElements = list.stream()
                        .distinct()
                        .collect(Collectors.toList());
 
PREVIOUS NEXT
Tagged: #java #distinct #values #list
ADD COMMENT
Topic
Name
1+9 =