list

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 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 ILinkedList

type ILinkedList interface {
	PushFront(values ...interface{})
	PushBack(values ...interface{})
	PopFront() (result interface{}, found bool)
	PopBack() (result interface{}, found bool)
}

ILinkedList 通用接口

type IList

type IList interface {
	Push(value interface{})
	Contains(values ...interface{}) bool
	Index(idx int) (interface{}, bool)
	Remove(idx int) (result interface{}, isfound bool)
	Values() []interface{}
	Traversal(every func(interface{}) bool)
	String() string

	Clear()
	Empty() bool
	Size() uint
}

IList 通用接口

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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