You are on page 1of 1

It handles the group of objects which must contain only unique elements.

This interface is
implemented by HashSet and LinkedHashSet classes and extended by SortedSet interface which
in turn, is implemented by TreeSet.

The hashset class is used to create a collection and store it in a hash table.

Java HashSet is when you want a collection of unique objects.

https://stackoverflow.com/questions/8689725/map-entry-how-to-use-it

You might also like