container

package
v0.0.0-...-43d03be Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElementInt64

type ElementInt64 struct {
	Value int64
	// contains filtered or unexported fields
}

func (*ElementInt64) Next

func (e *ElementInt64) Next() *ElementInt64

func (*ElementInt64) Prev

func (e *ElementInt64) Prev() *ElementInt64

type ElementString

type ElementString struct {
	Value string
	// contains filtered or unexported fields
}

func (*ElementString) Next

func (e *ElementString) Next() *ElementString

func (*ElementString) Prev

func (e *ElementString) Prev() *ElementString

type ListInt64

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

func NewInt64

func NewInt64() *ListInt64

func (*ListInt64) Back

func (l *ListInt64) Back() *ElementInt64

func (*ListInt64) Front

func (l *ListInt64) Front() *ElementInt64

func (*ListInt64) Init

func (l *ListInt64) Init() *ListInt64

func (*ListInt64) InsertAfter

func (l *ListInt64) InsertAfter(v int64, mark *ElementInt64) *ElementInt64

func (*ListInt64) InsertBefore

func (l *ListInt64) InsertBefore(v int64, mark *ElementInt64) *ElementInt64

func (*ListInt64) Len

func (l *ListInt64) Len() int

func (*ListInt64) MoveAfter

func (l *ListInt64) MoveAfter(e, mark *ElementInt64)

func (*ListInt64) MoveBefore

func (l *ListInt64) MoveBefore(e, mark *ElementInt64)

func (*ListInt64) MoveToBack

func (l *ListInt64) MoveToBack(e *ElementInt64)

func (*ListInt64) MoveToFront

func (l *ListInt64) MoveToFront(e *ElementInt64)

func (*ListInt64) PushBack

func (l *ListInt64) PushBack(v int64) *ElementInt64

func (*ListInt64) PushBackList

func (l *ListInt64) PushBackList(other *ListInt64)

func (*ListInt64) PushFront

func (l *ListInt64) PushFront(v int64) *ElementInt64

func (*ListInt64) PushFrontList

func (l *ListInt64) PushFrontList(other *ListInt64)

func (*ListInt64) Remove

func (l *ListInt64) Remove(e *ElementInt64) int64

type ListString

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

func NewString

func NewString() *ListString

func (*ListString) Back

func (l *ListString) Back() *ElementString

func (*ListString) Front

func (l *ListString) Front() *ElementString

func (*ListString) Init

func (l *ListString) Init() *ListString

func (*ListString) InsertAfter

func (l *ListString) InsertAfter(v string, mark *ElementString) *ElementString

func (*ListString) InsertBefore

func (l *ListString) InsertBefore(v string, mark *ElementString) *ElementString

func (*ListString) Len

func (l *ListString) Len() int

func (*ListString) MoveAfter

func (l *ListString) MoveAfter(e, mark *ElementString)

func (*ListString) MoveBefore

func (l *ListString) MoveBefore(e, mark *ElementString)

func (*ListString) MoveToBack

func (l *ListString) MoveToBack(e *ElementString)

func (*ListString) MoveToFront

func (l *ListString) MoveToFront(e *ElementString)

func (*ListString) PushBack

func (l *ListString) PushBack(v string) *ElementString

func (*ListString) PushBackList

func (l *ListString) PushBackList(other *ListString)

func (*ListString) PushFront

func (l *ListString) PushFront(v string) *ElementString

func (*ListString) PushFrontList

func (l *ListString) PushFrontList(other *ListString)

func (*ListString) Remove

func (l *ListString) Remove(e *ElementString) string

Directories

Path Synopsis
Package list implements a doubly linked list.
Package list implements a doubly linked list.

Jump to

Keyboard shortcuts

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