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
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
Post a Comment