PrefixContainer Class

Definition

This is a container for prefix values. It normalizes all the values into dotted-form and then stores them in a sorted array. All queries for prefixes are also normalized to dotted-form, and searches for ContainsPrefix are done with a binary search.

public ref class PrefixContainer
public class PrefixContainer
type PrefixContainer = class
Public Class PrefixContainer
Inheritance
PrefixContainer

Constructors

PrefixContainer(ICollection<String>)

Initializes a new instance of PrefixContainer.

Methods

ContainsPrefix(String)

Checks if a prefix is in the container.

GetKeysFromPrefix(String)

Gets the keys from a prefix.

Applies to