Package: java.util

## Interface SortedMap

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `SortedMap` | `asImmutable()` A convenience method for creating an immutable SortedMap.
    `SortedMap` | `asSynchronized()` A convenience method for creating a synchronized SortedMap.
    `SortedMap` | `asUnmodifiable()` Creates an unmodifiable view of a SortedMap.
    `SortedMap` | `sort()` Avoids doing unnecessary work when sorting an already sorted map (i.e. an identity function for an already sorted map).
    `Map` | `toSorted()` Avoids doing unnecessary work when sorting an already sorted map

  - #### Methods inherited from interface java.util.Map

    `any`, `asBoolean`, `asImmutable`, `asSynchronized`, `asType`, `asUnmodifiable`, `collect`, `collect`, `collectEntries`, `collectEntries`, `collectMany`, `collectMany`, `count`, `countBy`, `drop`, `dropWhile`, `each`, `eachWithIndex`, `equals`, `every`, `find`, `findAll`, `findResult`, `findResult`, `findResults`, `get`, `getAt`, `groupBy`, `groupBy`, `groupBy`, `groupEntriesBy`, `inject`, `intersect`, `isCase`, `isNotCase`, `leftShift`, `leftShift`, `max`, `min`, `minus`, `plus`, `plus`, `putAll`, `putAt`, `removeAll`, `retainAll`, `reverseEach`, `sort`, `sort`, `sort`, `spread`, `subMap`, `subMap`, `take`, `takeWhile`, `toMapString`, `toMapString`, `toSorted`, `toSorted`, `toSorted`, `toSpreadMap`, `withDefault`, `withDefault`

- - ### Methods Detail

    - #### public SortedMap asImmutable()

      A convenience method for creating an immutable SortedMap.

      Returns:
        an unmodifiable view of a copy of the original, i.e. an effectively immutable copy
      Since:
        1.0
      See Also:
        List#asImmutable()
        SortedMap#asUnmodifiable()

    - #### public SortedMap asSynchronized()

      A convenience method for creating a synchronized SortedMap.

      Returns:
        a synchronized SortedMap
      Since:
        1.0
      See Also:
        Collections#synchronizedSortedMap(java.util.SortedMap)

    - #### public SortedMap asUnmodifiable()

      Creates an unmodifiable view of a SortedMap.

      Returns:
        an unmodifiable view of the SortedMap
      Since:
        2.5.0
      See Also:
        Collections#unmodifiableSortedMap(java.util.SortedMap)
        List#asUnmodifiable()

    - #### public SortedMap sort()

      Avoids doing unnecessary work when sorting an already sorted map (i.e. an identity function for an already sorted map).

      Returns:
        the map
      Since:
        1.8.1

    - #### public Map toSorted()

      Avoids doing unnecessary work when sorting an already sorted map

      Returns:
        an ordered copy of the map
      Since:
        2.4.0