Trie29
Constructors
Models
Getters
entriesconstReturns an IterableIterator of the entries within the Trie.entriesWithPrefixconstReturns an IterableIterator of the entries within the Trie that have prefix as prefix (prefix included if it exists).keysconstReturns an IterableIterator of the keys within the Trie.keysWithPrefixconstReturns an IterableIterator of the keys within the Trie that have prefix as prefix (prefix included if it exists).longestPrefixOfconstReturns the longest key/value in the Trie that is a prefix of that key if it exists, None otherwise.sizeconstReturns the size of the Trie (number of entries in the Trie).toEntriesconstReturns an Array<[string, V]> of the entries within the Trie.toEntriesWithPrefixconstReturns an Array<[string, V]> of the entries within the Trie whose keys start with prefix, including the entry for prefix itself when it exists.valuesconstReturns an IterableIterator of the values within the Trie.valuesWithPrefixconstReturns an IterableIterator of the values within the Trie that have prefix as prefix (prefix included if it exists).Elements
Filtering
Mutations
insertconstInserts a new entry in the Trie.insertManyconstInserts multiple entries in the Trie at once.modifyconstUpdates the value of the specified key within the Trie if it exists.removeconstRemoves the entry for the specified key in the Trie.removeManyconstRemoves all entries in the Trie which have the specified keys.