java.util
Interface SortedSet

All Superinterfaces:
Collection, Set
All Known Implementing Classes:
TreeSet

public interface SortedSet
extends Set


Method Summary
 Comparator comparator()
           
 Object first()
           
 SortedSet headSet(Object)
           
 Object last()
           
 SortedSet subSet(Object, Object)
           
 SortedSet tailSet(Object)
           
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

comparator

public Comparator comparator()

subSet

public SortedSet subSet(Object,
                        Object)

headSet

public SortedSet headSet(Object)

tailSet

public SortedSet tailSet(Object)

first

public Object first()

last

public Object last()