list

package
v0.0.3-chain-bsopt Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element struct {
	Value interface{}
	// contains filtered or unexported fields
}

type List

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

func New

func New() *List

func (*List) Append

func (l *List) Append(data interface{})

func (*List) Remove

func (l *List) Remove(prev, current *Element)

func (*List) Shift

func (l *List) Shift() interface{}

func (*List) Size

func (n *List) Size() int

func (*List) Traverse

func (l *List) Traverse(fn func(prev, current *Element))

Jump to

Keyboard shortcuts

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