set

package
v1.22.45 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: BSD-3-Clause Imports: 1 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set[T comparable] = set.Set[T]

Re-export set types from math package Generic type aliases work natively in Go 1.23+

func NewSet

func NewSet[T comparable](size int) Set[T]

NewSet creates a new empty set

func Of

func Of[T comparable](elements ...T) Set[T]

Of creates a new set

Jump to

Keyboard shortcuts

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