Class BTreeLinked
Static helpers for BTreeLinked<T, TCompare>.
Inheritance
System.Object
BTreeLinked
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public static class BTreeLinked : object
Methods
| Improve this Doc View SourceNew<T>(Byte, Nullable<Func<T, T, CompareResult>>)
Creates a B-Tree having nodes of given maximum size. Maximum size must be even
Declaration
public static BTreeLinked<T, SFunc<T, T, CompareResult>> New<T>(byte maxDegree, Func<T, T, CompareResult>? compare = null)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | maxDegree | |
System.Nullable<Func<T, T, CompareResult>> | compare |
Returns
Type | Description |
---|---|
BTreeLinked<T, SFunc<T, T, CompareResult>> | The new constructed BTreeLinked<T, TCompare>. |
Type Parameters
Name | Description |
---|---|
T |