TreeSet

Description

sealed class Tinman.Core.Collections.TreeSet<T>

Derived from

SortedSetBase<T> abstract

An implementation of the IBag interface that uses a balanced binary tree for storing the set elements.

Public / Constructors

Tree​Set


public constructor TreeSet → (2)

compare in : CompareDelegate<T>

[not-null]
The comparator.

capacity opt : int32 = 12

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

Creates a new instance of TreeSet.