gxset

package
v1.11.13 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 144

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashSet

type HashSet struct {
	Items map[interface{}]struct{}
}

func NewSet

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

func (*HashSet) Add

func (set *HashSet) Add(items ...interface{})

func (*HashSet) Clear

func (set *HashSet) Clear()

func (*HashSet) Contains

func (set *HashSet) Contains(items ...interface{}) bool

func (*HashSet) Empty

func (set *HashSet) Empty() bool

func (*HashSet) Remove

func (set *HashSet) Remove(items ...interface{})

func (*HashSet) Size

func (set *HashSet) Size() int

func (*HashSet) String

func (set *HashSet) String() string

func (*HashSet) Values

func (set *HashSet) Values() []interface{}

Jump to

Keyboard shortcuts

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