set

package
v0.0.0-...-cf07509 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: GPL-3.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	// contains filtered or unexported fields
}

func Difference

func Difference(sets ...*Set) *Set

func Intersection

func Intersection(sets ...*Set) *Set

func NewSet

func NewSet(values ...interface{}) *Set

func NewSetInt

func NewSetInt() *Set

func NewSetString

func NewSetString() *Set

func NewSetT

func NewSetT(type_ reflect.Type) *Set

func Union

func Union(sets ...*Set) *Set

func (*Set) Add

func (self *Set) Add(values ...interface{})

func (*Set) AddStrings

func (self *Set) AddStrings(values ...string)

func (*Set) Copy

func (self *Set) Copy() *Set

func (*Set) Difference

func (self *Set) Difference(other_sets ...*Set) *Set

func (*Set) Have

func (self *Set) Have(value interface{}) bool

func (*Set) Intersection

func (self *Set) Intersection(other_sets ...*Set) *Set

func (*Set) Len

func (self *Set) Len() int

func (*Set) List

func (self *Set) List() []interface{}

func (*Set) ListStrings

func (self *Set) ListStrings() []string

func (*Set) ListStringsSorted

func (self *Set) ListStringsSorted() []string

func (*Set) Remove

func (self *Set) Remove(values ...interface{})

func (*Set) Union

func (self *Set) Union(other_sets ...*Set) *Set

Jump to

Keyboard shortcuts

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