UNPKG

sonic-forest

Version:

High-performance (binary) tree and sorted map implementation (AVL, Splay, Radix, Red-Black)

10 lines (9 loc) 324 B
import { Printable } from '../print/types'; import { TrieNode } from '../trie/TrieNode'; export declare class RadixTree<V = unknown> extends TrieNode<V> implements Printable { size: number; constructor(); set(key: string, value: V): void; get(key: string): V | undefined; delete(key: string): boolean; }