suffixtree

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GCSlice added in v1.1.0

func GCSlice[T any](arr []T) []T

Types

type Node

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

func NewNodeFromRules

func NewNodeFromRules(rules ...string) *Node

func (*Node) Add

func (n *Node) Add(item string)

func (Node) GC added in v1.1.0

func (n Node) GC()

func (*Node) Match

func (n *Node) Match(item string) bool

func (*Node) String

func (n *Node) String() string

Jump to

Keyboard shortcuts

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