node

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT, 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 KNode added in v0.8.0

type KNode[K comparable, T any] struct {
	Next  *KNode[K, T]
	Key   K
	Value T
}

type LinkedKNode added in v0.8.0

type LinkedKNode[K comparable, T any] struct {
	Prev, Next *LinkedKNode[K, T]
	Key        K
	Value      T
}

type LinkedNode added in v0.8.0

type LinkedNode[T any] struct {
	Prev, Next *LinkedNode[T]
	Value      T
}

type LinkedOrdKNode added in v0.8.0

type LinkedOrdKNode[K constraints.Ordered, T any] struct {
	Prev, Next *LinkedOrdKNode[K, T]
	Key        K
	Value      T
}

type Node

type Node[T any] struct {
	Next  *Node[T]
	Value T
}

type OrdKNode added in v0.8.0

type OrdKNode[K constraints.Ordered, T any] struct {
	Next  *OrdKNode[K, T]
	Key   K
	Value T
}

Jump to

Keyboard shortcuts

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