liner

package
v0.0.0-...-2a093ab Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(i int, l *List)

func Find

func Find(x interface{}, l *List) int

func FindKth

func FindKth(i int, l *List) interface{}

func Insert

func Insert(x interface{}, i int, l *List)

func Length

func Length(l *List) int

Types

type LinerList

type LinerList interface {
	Len() int
}

type LinerListArr

type LinerListArr struct {
	Data []interface{}
	Last int
}

func (*LinerListArr) Len

func (l *LinerListArr) Len() int
type LinerListLink struct {
	// contains filtered or unexported fields
}

func (*LinerListLink) Len

func (l *LinerListLink) Len() int

type List

type List LinerListArr

func NewLinerList

func NewLinerList() *List

Jump to

Keyboard shortcuts

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