TreeSet provides an implementation of the Set interface that uses a tree for storage.