Show / Hide Table of Contents

Class PrefixLookup<T>

Stores key-value pairs, with efficient searching for the longest key that is a prefix of a given string.

Inheritance
Object
PrefixLookup<T>
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public class PrefixLookup<T>
Type Parameters
Name Description
T

Constructors

PrefixLookup()

Declaration
public PrefixLookup()

Methods

Add(String, Object)

Declaration
public void Add(string name, object value)
Parameters
Type Name Description
String name
Object value

TryFindLongestPrefix(String, out T)

Declaration
public bool TryFindLongestPrefix(string name, out T value)
Parameters
Type Name Description
String name
T value
Returns
Type Description
Boolean
Back to top Generated by DocFX