Versions in this module Expand all Collapse all v0 v0.2.5 Sep 28, 2023 v0.2.4 Aug 30, 2023 Changes in this version + type Element = list.Element + type List struct + func New(less func(T, T) bool) *List[T] + func (x *List[T]) Back() T + func (x *List[T]) Begin() *Element + func (x *List[T]) Erase(e *Element) *Element + func (x *List[T]) Find(v T) *Element + func (x *List[T]) FindBy(v T, start *Element) *Element + func (x *List[T]) FindByFunc(v T, start *Element, eq func(T, T) bool) *Element + func (x *List[T]) FindFunc(v T, eq func(T, T) bool) *Element + func (x *List[T]) Front() T + func (x *List[T]) GetValue(e *Element) T + func (x *List[T]) Index(i int) *Element + func (x *List[T]) Index2(i int, j int) (*Element, *Element) + func (x *List[T]) InsertAfter(v T, mark *Element) *Element + func (x *List[T]) InsertBefore(v T, mark *Element) *Element + func (x *List[T]) Len() int + func (x *List[T]) Less(i, j int) bool + func (x *List[T]) MoveAfter(e, mark *Element) + func (x *List[T]) MoveBefore(e, mark *Element) + func (x *List[T]) MoveToBack(e *Element) + func (x *List[T]) MoveToFront(e *Element) + func (x *List[T]) PopBack() T + func (x *List[T]) PopFront() T + func (x *List[T]) PushBack(v T) *Element + func (x *List[T]) PushBackList(other *List[T]) + func (x *List[T]) PushBackMuch(v ...T) + func (x *List[T]) PushFront(v T) *Element + func (x *List[T]) PushFrontList(other *List[T]) + func (x *List[T]) PushFrontMuch(v ...T) + func (x *List[T]) Remove(v T) bool + func (x *List[T]) RemoveAll(v T) int + func (x *List[T]) RemoveAllFunc(v T, eq func(T, T) bool) int + func (x *List[T]) RemoveFunc(v T, eq func(T, T) bool) bool + func (x *List[T]) RemoveMuch(v T, c int) int + func (x *List[T]) RemoveMuchFunc(v T, c int, eq func(T, T) bool) int + func (x *List[T]) ReverseBegin() *Element + func (x *List[T]) Sort() + func (x *List[T]) Swap(i, j int)