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 SourceNew<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 |
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. |