sets

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct{}

type Set

type Set[E comparable] map[E]Empty

func New

func New[E comparable](items ...E) Set[E]

func (Set[E]) Delete

func (s Set[E]) Delete(items ...E)

func (Set[E]) Has

func (s Set[E]) Has(item E) bool

func (Set[E]) Insert

func (s Set[E]) Insert(items ...E)

Jump to

Keyboard shortcuts

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