Class PrefixLookup<T>
Stores key-value pairs, with efficient searching for
the longest key that is a prefix of a given string.
Inheritance
PrefixLookup<T>
Assembly: Tessera.dll
Syntax
public class PrefixLookup<T>
Type Parameters
Constructors
PrefixLookup()
Declaration
Methods
Add(string, object)
Declaration
public void Add(string name, object value)
Parameters
TryFindLongestPrefix(string, out T)
Declaration
public bool TryFindLongestPrefix(string name, out T value)
Parameters
Type |
Name |
Description |
string |
name |
|
T |
value |
|
Returns