Package-level declarations

Types

Link copied to clipboard
class MutableRedBlackTreeMap<K, V>(comparator: Comparator<in K> = Comparator { a, b -> naturalCompare(a, b) }) : MutableSortedMap<K, V>

A MutableSortedMap implementation backed by a Red-Black tree.

Link copied to clipboard
interface MutableSortedMap<K, V> : SortedMap<K, V> , MutableMap<K, V>

A mutable variant of SortedMap that supports insertion and removal of entries while maintaining sorted key order.

Link copied to clipboard
interface SortedMap<K, out V> : Map<K, V>

A map that maintains its entries sorted according to its implementation-defined key ordering.