set

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: GPL-3.0 Imports: 0 Imported by: 2

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 NewSet

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

func (*Set) Add

func (s *Set) Add(item interface{})

func (*Set) AddSet

func (s *Set) AddSet(addSet *Set)

func (*Set) Clear

func (s *Set) Clear()

func (*Set) Compare

func (s *Set) Compare(compareSet *Set) bool

func (*Set) Contains

func (s *Set) Contains(item interface{}) bool

func (*Set) ConvertSlice

func (s *Set) ConvertSlice() []interface{}

func (*Set) IsEmpty

func (s *Set) IsEmpty() bool

func (*Set) Remove

func (s *Set) Remove(item interface{})

func (*Set) Size

func (s *Set) Size() int

Jump to

Keyboard shortcuts

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