tree

package
v0.0.0-...-6a0b755 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tree

type Tree[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any](comparer func(i, j T) int) *Tree[T]

func (*Tree[T]) All

func (t *Tree[T]) All() iter.Seq[T]

func (Tree[T]) CloneFunc

func (v Tree[T]) CloneFunc(cloneT func(T) T) Tree[T]

func (*Tree[T]) Push

func (t *Tree[T]) Push(ts ...T)

Jump to

Keyboard shortcuts

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