java.util

Interface SortedSet<E>

public interface SortedSet<E> extends Set<E>

Method Summary
Comparator<E>comparator()
Efirst()
SortedSet<E>headSet(E toElement)
Elast()
SortedSet<E>subSet(E fromElement, E toElement)
SortedSet<E>tailSet(E fromElement)

Method Detail

comparator

public Comparator<E> comparator()

first

public E first()

headSet

public SortedSet<E> headSet(E toElement)

last

public E last()

subSet

public SortedSet<E> subSet(E fromElement, E toElement)

tailSet

public SortedSet<E> tailSet(E fromElement)