Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparable ¶
type Comparable[K constraints.Ordered] func(k1, k2 K) int
func New ¶
func New[K constraints.Ordered](order Order) Comparable[K]
type Comparator ¶
type Comparator[K constraints.Ordered] interface { Compare(k1, k2 K) int Asc() Desc() }
func New2 ¶
func New2[K constraints.Ordered]() Comparator[K]
Click to show internal directories.
Click to hide internal directories.