trie

package
v0.0.0-...-381c4e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 Make

func Make(vs ...string) (t *Trie)

func (*Trie) Abbreviate

func (t *Trie) Abbreviate(v string) string

func (*Trie) Add

func (t *Trie) Add(v string)

func (*Trie) Contains

func (t *Trie) Contains(v string) bool

func (*Trie) Expand

func (t *Trie) Expand(v string) string

func (*Trie) GobDecode

func (t *Trie) GobDecode(b []byte) error

func (Trie) GobEncode

func (t Trie) GobEncode() (by []byte, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL