compute

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBoolIndexComputation

func CreateBoolIndexComputation[R record.Record](getter record.BoolGetter[R]) indexes.IndexComputer[R]

func CreateIndexComputation added in v0.2.0

func CreateIndexComputation[
	R record.Record,
	T record.LessComparable,
](getter record.GetterInterface[R, T]) indexes.IndexComputer[R]

Types

type BoolKey

type BoolKey bool

func (BoolKey) Less

func (i BoolKey) Less(than indexes.Key) bool

type ComparableKey added in v0.2.0

type ComparableKey[T record.LessComparable] struct {
	Value T
}

func (ComparableKey[T]) Less added in v0.2.0

func (i ComparableKey[T]) Less(than indexes.Key) bool

Jump to

Keyboard shortcuts

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