1、public E first();返回此Set集合中当前第一个元素。

2、public E last();返回此Set集合中当前最后一个元素。

3、public Comparator<? super E> comparator();返回集合中的元素进行排序的比较器,如果使用自然排序,则返回null

4、SortedSet<E> headSet(E toElement);返回一个新的Set集合心机和包含toElement(不包含)之前的所有对象。

5、SortedSet<E> subSet(E fromElement, E toElement);返回一个新Set集合新集合包含fromElement(包含)与toElement(不包含)对象之间的所有对象。

6、SortedSet<E> tailSet(E fromElement);返回一个新Set集合,新集合包含fromElement(包含)之后的所有对象。
