java.util
Class Collections.SynchronizedSortedMap

java.lang.Object
  |
  +--java.util.Collections.SynchronizedMap
        |
        +--java.util.Collections.SynchronizedSortedMap

static class Collections.SynchronizedSortedMap
extends Collections.SynchronizedMap
implements SortedMap

See Also:
Serialized Form

Field Summary
private  SortedMap sm
           
 
Fields inherited from class java.util.Collections.SynchronizedMap
entrySet, keySet, m, mutex, values
 
Constructor Summary
(package private) Collections.SynchronizedSortedMap(SortedMap m)
           
(package private) Collections.SynchronizedSortedMap(SortedMap m, Object mutex)
           
 
Method Summary
 Comparator comparator()
           
 Object firstKey()
           
 SortedMap headMap(Object toKey)
           
 Object lastKey()
           
 SortedMap subMap(Object fromKey, Object toKey)
           
 SortedMap tailMap(Object fromKey)
           
 
Methods inherited from class java.util.Collections.SynchronizedMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

sm

private SortedMap sm
Constructor Detail

Collections.SynchronizedSortedMap

Collections.SynchronizedSortedMap(SortedMap m)

Collections.SynchronizedSortedMap

Collections.SynchronizedSortedMap(SortedMap m,
                                  Object mutex)
Method Detail

comparator

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

subMap

public SortedMap subMap(Object fromKey,
                        Object toKey)
Specified by:
subMap in interface SortedMap

headMap

public SortedMap headMap(Object toKey)
Specified by:
headMap in interface SortedMap

tailMap

public SortedMap tailMap(Object fromKey)
Specified by:
tailMap in interface SortedMap

firstKey

public Object firstKey()
Specified by:
firstKey in interface SortedMap

lastKey

public Object lastKey()
Specified by:
lastKey in interface SortedMap