Terminal indicates whether n is terminal in the trie (that is, whether the path from the root to n represents an element in the set). For instance, if the root node is terminal, then []byte{} is in the trie.
()
| 303 | // represents an element in the set). For instance, if the root node is terminal, then []byte{} is in the |
| 304 | // trie. |
| 305 | func (n *Node) Terminal() bool { return n.terminal } |
| 306 | |
| 307 | // Val gives the value associated with this node. It panics if n is not terminal. |
| 308 | func (n *Node) Val() int { |