DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
check if duplicate element in java
for (String name : names) { if (set.add(name) == false) { // your duplicate element } }
Source by javarevisited.blogspot.com #
PREVIOUS
NEXT
Tagged:
#check
#duplicate
#element
#java
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit