container

package
v0.0.0-...-c13e492 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heap

type Heap struct {
	HeapType
	// contains filtered or unexported fields
}

func (*Heap) Copy

func (x *Heap) Copy() Heap

func (*Heap) Get

func (x *Heap) Get(indx int) interface{}

func (*Heap) Len

func (x *Heap) Len() int

func (*Heap) Pop

func (x *Heap) Pop() interface{}

func (*Heap) Push

func (x *Heap) Push(a interface{})

func (*Heap) Swap

func (x *Heap) Swap(i, j int)

type HeapType

type HeapType interface {
	SetIndex(i, j int)
}

Jump to

Keyboard shortcuts

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