syncset

package
v0.3.977 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set[T comparable] struct {
	// contains filtered or unexported fields
}

func New

func New[T comparable]() *Set[T]

func (*Set[T]) Count

func (s *Set[T]) Count() int

func (*Set[T]) Delete

func (s *Set[T]) Delete(key T) (deleted bool)

func (*Set[T]) Get

func (s *Set[T]) Get(key T) (ok bool)

func (*Set[T]) Set

func (s *Set[T]) Set(key T)

Jump to

Keyboard shortcuts

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