java.util
Class Collections.SynchronizedSortedSet

java.lang.Object
  |
  +--java.util.Collections.SynchronizedCollection
        |
        +--java.util.Collections.SynchronizedSet
              |
              +--java.util.Collections.SynchronizedSortedSet

static class Collections.SynchronizedSortedSet
extends Collections.SynchronizedSet
implements SortedSet

See Also:
Serialized Form

Field Summary
private  SortedSet ss
           
 
Fields inherited from class java.util.Collections.SynchronizedCollection
c, mutex
 
Constructor Summary
(package private) Collections.SynchronizedSortedSet(SortedSet s)
           
(package private) Collections.SynchronizedSortedSet(SortedSet s, Object mutex)
           
 
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.SynchronizedSet
equals, hashCode
 
Methods inherited from class java.util.Collections.SynchronizedCollection
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.SynchronizedSortedSet

Collections.SynchronizedSortedSet(SortedSet s)

Collections.SynchronizedSortedSet

Collections.SynchronizedSortedSet(SortedSet s,
                                  Object mutex)
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