Documentation
¶
Index ¶
- type Node
- type Trie
- func (this *Trie) Delete(s string)
- func (this Trie) Get(key string) (int, error)
- func (this Trie) Keys() []string
- func (this Trie) KeysThatMatch(pattern string) []string
- func (this Trie) KeysWithPrefix(pre string) []string
- func (this Trie) LongestPrefixOf(s string) string
- func (this *Trie) Put(key string, value int)
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trie ¶
type Trie struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor() Trie
func (Trie) KeysThatMatch ¶
func (Trie) KeysWithPrefix ¶
func (Trie) LongestPrefixOf ¶
Click to show internal directories.
Click to hide internal directories.