| java.util.SortedSet<E> | 
   Known Indirect Subclasses
   | 
SortedSet is a Set which iterates over its elements in a sorted order. The
 order is determined either by the elements natural ordering, or by a
 Comparator which is passed into a concrete implementation at
 construction time. All elements in this set must be mutually comparable. The
 ordering in this set must be consistent with equals of its elements.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the comparator used to compare elements in this  
  
  SortedSet. | |||||||||||
Returns the first element in this  
  
  SortedSet. | |||||||||||
Returns a  
  
  SortedSet of the specified portion of this
 SortedSet which contains elements less than the end element. | |||||||||||
Returns the last element in this  
  
  SortedSet. | |||||||||||
Returns 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. | |||||||||||
Returns a  
  
  SortedSet of the specified portion of this
 SortedSet which contains elements greater or equal to the start
 element. | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From interface java.lang.Iterable
 | |||||||||||
   
From interface java.util.Collection
 | |||||||||||
   
From interface java.util.Set
 | |||||||||||
Returns the comparator used to compare elements in this SortedSet.
Returns the first element in this SortedSet. The first element
 is the lowest element.
| NoSuchElementException | when this SortedSet is empty.
 | 
        
|---|
Returns a SortedSet of the specified portion of this
 SortedSet which contains elements less than the end element. The
 returned SortedSet is backed by this SortedSet so changes
 to one set are reflected by the other.
| end | the end element. | 
|---|
end.| ClassCastException | when the class of the end element is inappropriate for this SubSet. | 
|---|---|
| NullPointerException | when the end element is null and this SortedSet does
             not support null elements.
 | 
        
Returns the last element in this SortedSet. The last element is
 the highest element.
| NoSuchElementException | when this SortedSet is empty.
 | 
        
|---|
Returns 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. The returned SortedSet is
 backed by this SortedMap so changes to one set are reflected by the
 other.
| start | the start element. | 
|---|---|
| end | the end element. | 
start
         and less than end.| ClassCastException | when the class of the start or end element is inappropriate for this SubSet. | 
|---|---|
| NullPointerException | when the start or end element is null and this
             SortedSet does not support null elements. | 
        
| IllegalArgumentException | when the start element is greater than the end element. | 
Returns a SortedSet of the specified portion of this
 SortedSet which contains elements greater or equal to the start
 element. The returned SortedSet is backed by this
 SortedSet so changes to one set are reflected by the other.
| start | the start element. | 
|---|
start .| ClassCastException | when the class of the start element is inappropriate for this SubSet. | 
|---|---|
| NullPointerException | when the start element is null and this SortedSet
             does not support null elements.
 |