Package java.util
Class Collections

Public Method unmodifiableSortedSet

static SortedSet unmodifiableSortedSet(SortedSet s)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns an unmodifiable view of the specified sorted set. This method allows modules to provide users with "read-only" access to internal sorted sets. Query operations on the returned sorted set "read through" to the specified sorted set. Attempts to modify the returned sorted set, whether direct, via its iterator, or via its subSet, headSet, or tailSet views, result in an UnsupportedOperationException.

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