set

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrderedCompare

func OrderedCompare[T constraints.Ordered](lhs, rhs T) int

func SortedDifference

func SortedDifference[T, U any](lhs []T, rhs []U, compare func(lhs T, rhs U) int) []T

func SortedDifferenceIndex

func SortedDifferenceIndex[T, U any](lhs []T, rhs []U, compare func(lhs T, rhs U) int) []int

func SortedIntersection

func SortedIntersection[T, U any](lhs []T, rhs []U, compare func(lhs T, rhs U) int) []T

func SortedIntersectionIndex

func SortedIntersectionIndex[T, U any](lhs []T, rhs []U, compare func(lhs T, rhs U) int) []int

func SortedOrderedDifference

func SortedOrderedDifference[T constraints.Ordered](lhs, rhs []T) []T

func SortedOrderedDifferenceIndex

func SortedOrderedDifferenceIndex[T constraints.Ordered](lhs, rhs []T) []int

func SortedOrderedIntersection

func SortedOrderedIntersection[T constraints.Ordered](lhs, rhs []T) []T

func SortedOrderedIntersectionIndex

func SortedOrderedIntersectionIndex[T constraints.Ordered](lhs, rhs []T) []int

Types

This section is empty.

Jump to

Keyboard shortcuts

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