functool

package
v0.0.0-...-e56f5d9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSet

type StringSet map[string]struct{}

StringSet is an abstract data type with uniq value.

func NewStringSet

func NewStringSet() StringSet

func NewStringSetWithValue

func NewStringSetWithValue(vs []string) StringSet

func (StringSet) Add

func (s StringSet) Add(x string)

func (StringSet) Contains

func (s StringSet) Contains(x string) bool

func (StringSet) Len

func (s StringSet) Len() int

func (StringSet) List

func (s StringSet) List() []string

func (StringSet) Remove

func (s StringSet) Remove(x string)

func (StringSet) Union

func (s StringSet) Union(x StringSet)

Jump to

Keyboard shortcuts

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