Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

remove duplicates from list java

Set<String> set = new HashSet<>(yourList);
yourList.clear();
yourList.addAll(set);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #list #java
ADD COMMENT
Topic
Name
4+8 =