Method Summary |
|
public Comparator<? super E> | comparator() Answers the Comparator used to compare elements in this SortedSet. |
public E | first() Answer the first sorted element in this SortedSet. |
public SortedSet<E> | headSet(E end) Answers a SortedSet of the specified portion of this SortedSet which
contains elements less than the end element. |
public E | last() Answer the last sorted element in this SortedSet. |
public SortedSet<E> | subSet(E start, E end) Answers a SortedSet of the specified portion of this SortedSet which
contains elements greater or equal to the start element but less than the
end element. |
public SortedSet<E> | tailSet(E start) Answers a SortedSet of the specified portion of this SortedSet which
contains elements greater or equal to the start element. |