Set
Also written: sets, HashSet, TreeSet
A collection with no duplicates; adding something already there does nothing. Use it when you only care whether something is present.
Also written: sets, HashSet, TreeSet
A collection with no duplicates; adding something already there does nothing. Use it when you only care whether something is present.