HashSet
[one, two, five, four, three, seven, six]
[one, two, five, four, three, seven, six]
s.contains("one"): true
TreeSet
[five, four, one, seven, six, three, two]
[five, four, one, seven, six, three, two]
s.contains("one"): true
LinkedHashSet
[one, two, three, four, five, six, seven]
[one, two, three, four, five, six, seven]
s.contains("one"): true |