Package: java.util

## Interface SortedMap

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `SortedMap` | `asImmutable()` A convenience method for creating an immutable sorted map.
    `SortedMap` | `asSynchronized()` A convenience method for creating a synchronized 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`, `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`, `leftShift`, `leftShift`, `max`, `min`, `minus`, `plus`, `plus`, `putAll`, `putAt`, `reverseEach`, `sort`, `sort`, `sort`, `spread`, `subMap`, `subMap`, `take`, `takeWhile`, `toMapString`, `toMapString`, `toSorted`, `toSorted`, `toSorted`, `toSpreadMap`, `withDefault`

- - ### Methods Detail

    - #### public SortedMap asImmutable()

      A convenience method for creating an immutable sorted map.

      Returns:
        an immutable SortedMap
      Since:
        1.0
      See Also:
        Collections#unmodifiableSortedMap(java.util.SortedMap)

    - #### 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 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