package
Version:
v0.0.0-...-44b3db3
Opens a new window with list of versions in this module.
Published: Feb 12, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package list GENERATED BY gengo:runtimedoc
DON'T EDIT THIS FILE
type List[V any] struct {
Front, Back *Node[V]
}
func (l *List[V]) PushBack(v V) *Node[V]
func (l *List[V]) PushBackNode(n *Node[V])
func (l *List[V]) PushFront(v V) *Node[V]
func (l *List[V]) PushFrontNode(n *Node[V])
type Node[V any] struct {
Value V
Prev, Next *Node[V]
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.