Class MapHashLinked
Static helpers.
Inheritance
System.Object
MapHashLinked
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public static class MapHashLinked : object
Methods
| Improve this Doc View SourceNew<T, TKey>(Nullable<Func<TKey, TKey, Boolean>>, Nullable<Func<TKey, Int32>>)
Constructs a new MapHashLinked<T, TKey, TEquate, THash>.
Declaration
public static MapHashLinked<T, TKey, SFunc<TKey, TKey, bool>, SFunc<TKey, int>> New<T, TKey>(Func<TKey, TKey, bool>? equate = null, Func<TKey, int>? hash = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<Func<TKey, TKey, System.Boolean>> | equate | The function for comparing |
System.Nullable<Func<TKey, System.Int32>> | hash | The function for hashing |
Returns
Type | Description |
---|---|
MapHashLinked<T, TKey, SFunc<TKey, TKey, System.Boolean>, SFunc<TKey, System.Int32>> | The new constructed MapHashLinked<T, TKey, TEquate, THash>. |
Type Parameters
Name | Description |
---|---|
T | The type of values stored in this data structure. |
TKey | The type of keys used to look up values. |