list

package
v0.0.0-...-44b3db3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package list GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List[V any] struct {
	Front, Back *Node[V]
}

func (*List[V]) PushBack

func (l *List[V]) PushBack(v V) *Node[V]

func (*List[V]) PushBackNode

func (l *List[V]) PushBackNode(n *Node[V])

func (*List[V]) PushFront

func (l *List[V]) PushFront(v V) *Node[V]

func (*List[V]) PushFrontNode

func (l *List[V]) PushFrontNode(n *Node[V])

func (*List[V]) Remove

func (l *List[V]) Remove(n *Node[V])

func (List[V]) RuntimeDoc

func (v List[V]) RuntimeDoc(names ...string) ([]string, bool)

type Node

type Node[V any] struct {
	Value      V
	Prev, Next *Node[V]
}

func (Node[V]) RuntimeDoc

func (v Node[V]) RuntimeDoc(names ...string) ([]string, bool)

Jump to

Keyboard shortcuts

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