set

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PresenceSet

type PresenceSet[T comparable] map[T]struct{}

func NewPresenceSet

func NewPresenceSet[T comparable](capacity int) PresenceSet[T]

func (PresenceSet[T]) Has

func (ps PresenceSet[T]) Has(key T) bool

func (PresenceSet[T]) Set

func (ps PresenceSet[T]) Set(key T)

Jump to

Keyboard shortcuts

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