Home > @uniformdev/redirect > PathTrie

PathTrie class

Signature:

Constructors

<table><thead><tr><th>

Constructor

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

(constructor)(initialData)

</td><td>

</td><td>

Constructs a new instance of the PathTrie class

</td></tr> </tbody></table>

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

map

</td><td>

</td><td>

PathTrieData<T[]>

</td><td>

</td></tr> </tbody></table>

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

convertManyInsert(data, key, value)

</td><td>

</td><td>

</td></tr> <tr><td>

find(path, bestMatch)

</td><td>

</td><td>

</td></tr> <tr><td>

insert(path, data)

</td><td>

</td><td>

</td></tr> <tr><td>

insertMany(data, key)

</td><td>

</td><td>

</td></tr> </tbody></table>