Untitled Document

Subscribe here to get updates on new Videos

 

9. 9 key interfaces of Collection framework iv SortedSet v Navigable Set?

 

 

 

previous homenext

 

 

SortedSet:

It is the child interface of Set. If we want to represent a group of individual objects as a single entity where duplicates are not allowed but all objects should be inserted according to some sorting order then we should go for SortedSet.

NavigableSet:

It is the child interface of SortedSet it defines serveral methods for navigation purposes.