Show / Hide Table of Contents

Class RedBlackTreeLinked

Static helpers for RedBlackTreeLinked<T, TCompare>.

Inheritance
System.Object
RedBlackTreeLinked
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public static class RedBlackTreeLinked : object

Methods

| Improve this Doc View Source

New<T>(Nullable<Func<T, T, CompareResult>>)

Constructs a new RedBlackTreeLinked<T, TCompare>.

Declaration
public static RedBlackTreeLinked<T, SFunc<T, T, CompareResult>> New<T>(Func<T, T, CompareResult>? compare = null)
Parameters
Type Name Description
System.Nullable<Func<T, T, CompareResult>> compare

The function for comparing T values.

Returns
Type Description
RedBlackTreeLinked<T, SFunc<T, T, CompareResult>>

The new constructed RedBlackTreeLinked<T, TCompare>.

Type Parameters
Name Description
T

The type of values stored in this data structure.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX