public PrefixTree(IPrefixTreeContext <T> context) { _context = context; _root = new PrefixTreeNode <T>(_id++, _context.AlphabetSize); }
public void SetChild(int index, PrefixTreeNode <T> child) { _children[index] = child; }