Show / Hide Table of Contents

Class TrieLinkedHashLinked

Static helpers.

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

Methods

| Improve this Doc View Source

New<T>(Nullable<Func<T, T, Boolean>>, Nullable<Func<T, Int32>>)

Constructs a new TrieLinkedHashLinked<T, TEquate, THash>.

Declaration
public static TrieLinkedHashLinked<T, SFunc<T, T, bool>, SFunc<T, int>> New<T>(Func<T, T, bool>? equate = null, Func<T, int>? hash = null)
Parameters
Type Name Description
System.Nullable<Func<T, T, System.Boolean>> equate

The function for comparing T values for equality.

System.Nullable<Func<T, System.Int32>> hash

The function for hashing T values.

Returns
Type Description
TrieLinkedHashLinked<T, SFunc<T, T, System.Boolean>, SFunc<T, System.Int32>>

The new constructed TrieLinkedHashLinked<T, TEquate, THash>.

Type Parameters
Name Description
T

The type of values stored in this data structure.

| Improve this Doc View Source

New<T, TData>(Nullable<Func<T, T, Boolean>>, Nullable<Func<T, Int32>>)

Constructs a new TrieLinkedHashLinked<T, TData, TEquate, THash>.

Declaration
public static TrieLinkedHashLinked<T, TData, SFunc<T, T, bool>, SFunc<T, int>> New<T, TData>(Func<T, T, bool>? equate = null, Func<T, int>? hash = null)
Parameters
Type Name Description
System.Nullable<Func<T, T, System.Boolean>> equate

The function for comparing T values for equality.

System.Nullable<Func<T, System.Int32>> hash

The function for hashing T values.

Returns
Type Description
TrieLinkedHashLinked<T, TData, SFunc<T, T, System.Boolean>, SFunc<T, System.Int32>>

The new constructed TrieLinkedHashLinked<T, TData, TEquate, THash>.

Type Parameters
Name Description
T

The type of values stored in this data structure.

TData

The additional data type to store with each leaf.

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