java.util
Class Collections.UnmodifiableSortedSet

java.lang.Object
  |
  +--java.util.Collections.UnmodifiableCollection
        |
        +--java.util.Collections.UnmodifiableSet
              |
              +--java.util.Collections.UnmodifiableSortedSet

static class Collections.UnmodifiableSortedSet
extends Collections.UnmodifiableSet
implements SortedSet, Serializable

See Also:
Serialized Form

Field Summary
private  SortedSet ss
           
 
Fields inherited from class java.util.Collections.UnmodifiableCollection
c
 
Constructor Summary
(package private) Collections.UnmodifiableSortedSet(SortedSet s)
           
 
Method Summary
 Comparator comparator()
           
 Object first()
           
 SortedSet headSet(Object toElement)
           
 Object last()
           
 SortedSet subSet(Object fromElement, Object toElement)
           
 SortedSet tailSet(Object fromElement)
           
 
Methods inherited from class java.util.Collections.UnmodifiableSet
equals, hashCode
 
Methods inherited from class java.util.Collections.UnmodifiableCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ss

private SortedSet ss
Constructor Detail

Collections.UnmodifiableSortedSet

Collections.UnmodifiableSortedSet(SortedSet s)
Method Detail

comparator

public Comparator comparator()
Specified by:
comparator in interface SortedSet

subSet

public SortedSet subSet(Object fromElement,
                        Object toElement)
Specified by:
subSet in interface SortedSet

headSet

public SortedSet headSet(Object toElement)
Specified by:
headSet in interface SortedSet

tailSet

public SortedSet tailSet(Object fromElement)
Specified by:
tailSet in interface SortedSet

first

public Object first()
Specified by:
first in interface SortedSet

last

public Object last()
Specified by:
last in interface SortedSet