Package java.util
Class Collections

Public Method unmodifiableSortedMap

static SortedMap unmodifiableSortedMap(SortedMap m)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns an unmodifiable view of the specified sorted map. This method allows modules to provide users with "read-only" access to internal sorted maps. Query operations on the returned sorted map "read through" to the specified sorted map. Attempts to modify the returned sorted map, whether direct, via its collection views, or via its subMap, headMap, or tailMap views, result in an UnsupportedOperationException.

The returned sorted map will be serializable if the specified sorted map is serializable.