Returns an empty sorted map (immutable). This map is serializable.
This example illustrates the type-safe way to obtain an empty map:
SortedMap<String, Date> s = Collections.emptySortedMap();
<K> | the class of the map keys | |
<V> | the class of the map values |
@implNote Implementations of this method need not create a separate
SortedMap
object for each call.
Diagram: Collections