DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+8 =
Submit