npublic interface SortedSet<E> extends Set<E> {
n // Range-view
n SortedSet<E> subSet(E fromElement, E toElement);
n SortedSet<E> headSet(E toElement);
n SortedSet<E> tailSet(E fromElement);
n
n // Endpoints
n E first();
n E last();
n
n // Comparator access
n Comparator<? super E> comparator();
n
n}