Methods Summary |
---|
public java.util.Comparator | comparator()Returns the comparator used to compare elements in this {@code SortedSet}.
|
public E | first()Returns the first element in this {@code SortedSet}. The first element
is the lowest element.
|
public java.util.SortedSet | headSet(E end)Returns a {@code SortedSet} of the specified portion of this
{@code SortedSet} which contains elements less than the end element. The
returned {@code SortedSet} is backed by this {@code SortedSet} so changes
to one set are reflected by the other.
|
public E | last()Returns the last element in this {@code SortedSet}. The last element is
the highest element.
|
public java.util.SortedSet | subSet(E start, E end)Returns a {@code SortedSet} of the specified portion of this
{@code SortedSet} which contains elements greater or equal to the start
element but less than the end element. The returned {@code SortedSet} is
backed by this SortedMap so changes to one set are reflected by the
other.
|
public java.util.SortedSet | tailSet(E start)Returns a {@code SortedSet} of the specified portion of this
{@code SortedSet} which contains elements greater or equal to the start
element. The returned {@code SortedSet} is backed by this
{@code SortedSet} so changes to one set are reflected by the other.
|