sorts

package
v0.0.0-...-2833060 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 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 Bubble

type Bubble[T constraints.Ordered] struct{}

func (Bubble[T]) Sort

func (b Bubble[T]) Sort(s []T, cmp sorter.Comparator[T])

type BubbleAny

type BubbleAny[T any] struct{}

func (BubbleAny[T]) SortAny

func (b BubbleAny[T]) SortAny(s []T, cmp sorter.Comparator[T])

type Insertion

type Insertion[T constraints.Ordered] struct{}

func (Insertion[T]) Sort

func (b Insertion[T]) Sort(s []T, cmp sorter.Comparator[T])

type InsertionAny

type InsertionAny[T any] struct{}

func (InsertionAny[T]) SortAny

func (b InsertionAny[T]) SortAny(s []T, cmp sorter.Comparator[T])

type Quicksort

type Quicksort[T constraints.Ordered] struct{}

func (Quicksort[T]) Sort

func (b Quicksort[T]) Sort(s []T, cmp sorter.Comparator[T])

type QuicksortAny

type QuicksortAny[T any] struct{}

func (QuicksortAny[T]) SortAny

func (b QuicksortAny[T]) SortAny(s []T, cmp sorter.Comparator[T])

type Selection

type Selection[T constraints.Ordered] struct{}

func (Selection[T]) Sort

func (b Selection[T]) Sort(s []T, cmp sorter.Comparator[T])

type SelectionAny

type SelectionAny[T any] struct{}

func (SelectionAny[T]) SortAny

func (b SelectionAny[T]) SortAny(s []T, cmp sorter.Comparator[T])

Jump to

Keyboard shortcuts

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