- <init>
Constructs a new tree set containing the same elements and using the same
ordering as the specified
- add
Adds the specified element to this set if it is not already present. More
formally, adds the specifi
- size
Returns the number of elements in this set (its cardinality).
- addAll
Adds all of the elements in the specified collection to this set.
- iterator
Returns an iterator over the elements in this set in ascending order.
- contains
Returns true if this set contains the specified element. More formally, returns
true if and only if
- first
- remove
Removes the specified element from this set if it is present. More formally,
removes an element e su
- isEmpty
Returns true if this set contains no elements.
- last
- clear
Removes all of the elements from this set. The set will be empty after this call
returns.
- toArray