TreeMap

Description

sealed class Tinman.Core.Collections.TreeMap
<TKey>
<TValue>

Derived from

MapConstBase<TKey, TValue> abstract
ISortedMap<TKey, TValue>

An implementation of the IMap interface that uses a balanced binary tree for storing the dictionary mappings.

Public / Constructors

Tree​Map


public constructor TreeMap → (2)

compare in : CompareDelegate<TKey>

[not-null]
The comparison for keys.

capacity opt : int32 = 12

[>=0]
The initial capacity of the dictionary, in mapped values.

Creates a new instance of TreeMap.