Show / Hide Table of Contents

Class AvlTreeLinked

Static helpers for AvlTreeLinked<T, TCompare>.

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

Methods

| Improve this Doc View Source

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

Constructs a new AvlTreeLinked<T, TCompare>.

Declaration
public static AvlTreeLinked<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
AvlTreeLinked<T, SFunc<T, T, CompareResult>>

The new constructed AvlTreeLinked<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