what is the treeSet in java?

This class implements the Set interface, backed by a TreeMap instance. This class guarantees that the sorted set will be in ascending element order, sorted according to the natural order of the elements (see Comparable), or by the comparator provided at set creation time, depending on which constructor is used.

java.lang.Object
extended by java.util.AbstractCollection
extended by java.util.AbstractSet
extended by java.util.TreeSet

For further reference:::::::

http://www.esus.com/docs/GetQuestionPage.jsp?uid=821

Comments

Popular posts from this blog

Let's try to build scrum masters/project managers/software architects/even a company with training AI models

TCP Ports list

Problem Solving: Allotment calculator