// FindByPrefixValue returns all the values that have a key starting with `prefix`.
FindByPrefixValue returns all the values that have a key starting with `prefix`.
// FindByPrefixValue returns all the values that have a key starting with ` prefix ` .
func (t *Trie) FindByPrefixValue(prefix string) []interface{} {
	t.mu.RLock()
	defer t.mu.RUnlock()
	node := findNode(t.root, []rune(prefix))
	if node == nil {
		return nil
	}
	return collectValues(node)
}
func ( t * Trie ) FindByPrefixValue ( prefix string ) [ ] interface { } { t . mu . RLock ( ) defer t . mu . RUnlock ( ) node := findNode ( t . root , [ ] rune ( prefix ) ) if node == nil { return nil } return collectValues ( node ) }
FindByPrefixValue returns all the values that have a key starting with `prefix`.
FindByPrefixValue returns all the values that have a key starting with ` prefix ` .