trie

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 0 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[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any]() *Node[T]

func (*Node[T]) Del

func (n *Node[T]) Del(key []rune)

func (*Node[T]) Get

func (n *Node[T]) Get(key []rune) T

func (*Node[T]) Put

func (n *Node[T]) Put(key []rune, val T)

func (*Node[T]) Size

func (n *Node[T]) Size() int

Jump to

Keyboard shortcuts

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