sort

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sorter

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

func New

func New(ix index.Int, columns []column.Comparable) Sorter

func (Sorter) Len

func (s Sorter) Len() int

func (Sorter) Less

func (s Sorter) Less(i, j int) bool

func (Sorter) Sort

func (s Sorter) Sort()

func (Sorter) Swap

func (s Sorter) Swap(i, j int)

Jump to

Keyboard shortcuts

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