plist

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CircularIterator

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

func (*CircularIterator) Next

func (iter *CircularIterator) Next() bool

func (*CircularIterator) Prev

func (iter *CircularIterator) Prev() bool

func (*CircularIterator) ToHead

func (iter *CircularIterator) ToHead()

func (*CircularIterator) ToTail

func (iter *CircularIterator) ToTail()

func (*CircularIterator) Value

func (iter *CircularIterator) Value() interface{}

type Iterator

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

func (*Iterator) Next

func (iter *Iterator) Next() bool

func (*Iterator) Prev

func (iter *Iterator) Prev() bool

func (*Iterator) ToHead

func (iter *Iterator) ToHead()

func (*Iterator) ToTail

func (iter *Iterator) ToTail()

func (*Iterator) Value

func (iter *Iterator) Value() interface{}

type Node

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

type PriorityList

type PriorityList struct {
	Compare compare.Compare
	// contains filtered or unexported fields
}

func New

func New(Compare compare.Compare) *PriorityList

func (*PriorityList) CircularIterator

func (pl *PriorityList) CircularIterator() *CircularIterator

func (*PriorityList) Clear

func (pl *PriorityList) Clear()

func (*PriorityList) Contains

func (l *PriorityList) Contains(values ...interface{}) bool

func (*PriorityList) Empty

func (pl *PriorityList) Empty() bool

func (*PriorityList) GetNode

func (pl *PriorityList) GetNode(idx int) (*Node, bool)

func (*PriorityList) Index

func (pl *PriorityList) Index(idx int) (interface{}, bool)

func (*PriorityList) Iterator

func (pl *PriorityList) Iterator() *Iterator

func (*PriorityList) Pop

func (pl *PriorityList) Pop() (result interface{}, ok bool)

func (*PriorityList) Push

func (pl *PriorityList) Push(value interface{})

func (*PriorityList) RString

func (pl *PriorityList) RString() string

func (*PriorityList) Remove

func (pl *PriorityList) Remove(idx int) (result interface{}, isfound bool)

func (*PriorityList) RemoveNode

func (pl *PriorityList) RemoveNode(node *Node)

func (*PriorityList) RemoveWithIndex

func (pl *PriorityList) RemoveWithIndex(idx int)

func (*PriorityList) Size

func (pl *PriorityList) Size() uint

func (*PriorityList) String

func (pl *PriorityList) String() string

func (*PriorityList) Top

func (pl *PriorityList) Top() (result interface{}, ok bool)

func (*PriorityList) Traversal

func (l *PriorityList) Traversal(every func(interface{}) bool)

func (*PriorityList) Values

func (pl *PriorityList) Values() []interface{}

Jump to

Keyboard shortcuts

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