TreeSet « java.util « Java by API






1.new TreeSet < E > ()
2.new TreeSet(Collection c)
3.new TreeSet < E > (Comparator < ? super E > c)
4.TreeSet: add(E o)
5.TreeSet: comparator()
6.TreeSet: headSet(T toElement)
7.TreeSet: first()
8.TreeSet: last()
9.TreeSet: remove(Object o)








10.TreeSet: subSet(T fromElement, T toElement)
11.TreeSet: tailSet(T fromElement)