java.util
Class Collections.UnmodifiableSortedMap

java.lang.Object
  |
  +--java.util.Collections.UnmodifiableMap
        |
        +--java.util.Collections.UnmodifiableSortedMap

static class Collections.UnmodifiableSortedMap
extends Collections.UnmodifiableMap
implements SortedMap, Serializable

See Also:
Serialized Form

Inner classes inherited from class java.util.Collections.UnmodifiableMap
Collections.UnmodifiableMap.UnmodifiableEntrySet
 
Field Summary
private  SortedMap sm
           
 
Fields inherited from class java.util.Collections.UnmodifiableMap
entrySet, keySet, m, values
 
Constructor Summary
(package private) Collections.UnmodifiableSortedMap(SortedMap m)
           
 
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.UnmodifiableMap
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.UnmodifiableSortedMap

Collections.UnmodifiableSortedMap(SortedMap m)
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