dll

package
v0.0.0-...-81dff9f Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DLL

type DLL[TItem any] interface {
	stack.Stack[TItem]
	queue.Queue[TItem]
}

DLL provides the implementation of a doubly-linked list of nodes

func From

func From[TItem any](c collection.Collection[TItem]) DLL[TItem]

From creates a new DLL by concatenating the items of the given collection

func New

func New[TItem any]() DLL[TItem]

New creates an empty DLL

Jump to

Keyboard shortcuts

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