lists

package
v2.0.0-...-1f204b1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Begin

func Begin[T any](l *list.List) listIter[T]

Begin returns an iterator to the front element of the list.

func End

func End[T any](l *list.List) listIter[T]

End returns an iterator to the passed last element of the list.

func ListBackInserter

func ListBackInserter[T any](l *list.List) listBackInserter[T]

ListBackInserter returns an OutputIter to insert elements to the back of the list.

func ListInserter

func ListInserter[T any](l *list.List, e *list.Element) listInserter[T]

ListInserter returns an OutputIter to insert elements before a node.

func RBegin

func RBegin[T any](l *list.List) listIter[T]

RBegin returns an iterator to the back element of the list.

func REnd

func REnd[T any](l *list.List) listIter[T]

REnd returns an iterator to the passed first element of the list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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