comparer

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package comparer TODO

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComparer

func NewComparer[K cmp.Ordered, V comparable]() bst.Comparer[K, V]

NewComparer TODO

Types

type Comparer

type Comparer[K cmp.Ordered, V comparable] struct{}

Comparer TODO

func (Comparer[K, V]) CompareKeys

func (c Comparer[K, V]) CompareKeys(a K, b K) (int, error)

CompareKeys implements bst.Comparer.

func (Comparer[K, V]) CompareValues

func (c Comparer[K, V]) CompareValues(a V, b V) (bool, error)

CompareValues implements bst.Comparer.

Jump to

Keyboard shortcuts

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