sort

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 0 Imported by: 0

README

sort

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heap

type Heap[T any] struct {
	// Options
	Less func(o1, o2 T) bool // required
	Size int                 // optional, 0 to not limit
	// contains filtered or unexported fields
}

func (*Heap[T]) Append

func (h *Heap[T]) Append(v T)

func (*Heap[T]) Dump

func (h *Heap[T]) Dump() []interface{}

Jump to

Keyboard shortcuts

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