Get the size of this TreeSet
int size()
Returns the number of elements in this set (its cardinality).
Home
Java Book
Collection
TreeSet:
TreeSet class
Create TreeSet objects
Add elements to a TreeSet
Get the least and greatest element in this TreeSet'>
The first and last element in this TreeSet
Get the head set and tail set
Remove element from TreeSet
Get the size of this TreeSet
Get a subset from this TreeSet