doubly

package
v0.0.0-...-5240087 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoublyLinkedList

type DoublyLinkedList struct {
	// contains filtered or unexported fields
}

func NewDoublyLinkedList

func NewDoublyLinkedList() *DoublyLinkedList

func (*DoublyLinkedList) Append

func (dll *DoublyLinkedList) Append(data interface{})

func (*DoublyLinkedList) Clear

func (dll *DoublyLinkedList) Clear()

func (*DoublyLinkedList) DeleteAny

func (dll *DoublyLinkedList) DeleteAny(data interface{})

func (*DoublyLinkedList) DeleteHead

func (dll *DoublyLinkedList) DeleteHead()

func (*DoublyLinkedList) DeleteTail

func (dll *DoublyLinkedList) DeleteTail()

func (*DoublyLinkedList) Find

func (dll *DoublyLinkedList) Find(data interface{}) *Node

func (*DoublyLinkedList) InsertBetween

func (dll *DoublyLinkedList) InsertBetween(data interface{}, after interface{})

func (*DoublyLinkedList) Prepend

func (dll *DoublyLinkedList) Prepend(data interface{})

func (*DoublyLinkedList) PrintList

func (dll *DoublyLinkedList) PrintList()

func (*DoublyLinkedList) Reverse

func (dll *DoublyLinkedList) Reverse()

func (*DoublyLinkedList) Size

func (dll *DoublyLinkedList) Size() int

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(data interface{}) *Node

Jump to

Keyboard shortcuts

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