setx

package
v0.0.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSet

func NewSet() *set

Types

type Set

type Set interface {
	Add(value interface{}) bool
	Adds(values ...interface{}) int
	Contains(values ...interface{}) bool
	Remove(value interface{}) bool
	Removes(values ...interface{}) int
	Values() []interface{}
	ForEach(f func(value interface{}) bool)

	Size() int
	IsEmpty() bool
	Clear()
	Copy() Set
}

Jump to

Keyboard shortcuts

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