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])
Click to show internal directories.
Click to hide internal directories.