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

TreeSet


public constructor TreeSet → (2)

compare in : CompareDelegate<T>

[not-null]
The comparator.

initialCapacity opt : int32 = 12

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

Creates a new instance of TreeSet.