trie

package
v0.0.0-...-e2521e0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

type Trie

type Trie struct {
	// contains filtered or unexported fields
}

func New

func New() *Trie

func (*Trie) Add

func (t *Trie) Add(str string)

func (*Trie) Contains

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

func (*Trie) DumpData

func (t *Trie) DumpData() *[]string

func (*Trie) Print

func (t *Trie) Print()

func (*Trie) Remove

func (t *Trie) Remove(str string) (isFound bool)

func (*Trie) Search

func (t *Trie) Search(str string) (guaranteedContinuation string, isExactMatch bool)

Jump to

Keyboard shortcuts

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