utils

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 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[K comparable, V any] struct {
	// contains filtered or unexported fields
}

Node base tree structure @Constructor(type="pointer")

func NewNode

func NewNode[K comparable, V any]() *Node[K, V]

func (*Node[K, V]) Add

func (n *Node[K, V]) Add(key []K, value V)

func (*Node[K, V]) Execute

func (n *Node[K, V]) Execute(pre, post func([]K, []V))

func (*Node[K, V]) Optimize

func (n *Node[K, V]) Optimize()

Jump to

Keyboard shortcuts

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