hashset

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashSet

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

HashSet

func New

func New() *HashSet

New

func (*HashSet) Add

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

Add

func (*HashSet) Clear

func (set *HashSet) Clear()

Clear

func (*HashSet) Contains

func (set *HashSet) Contains(item interface{}) bool

Contains

func (*HashSet) Empty

func (set *HashSet) Empty() bool

Empty

func (*HashSet) Remove

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

Remove

func (*HashSet) Size

func (set *HashSet) Size() int

Size

func (*HashSet) String

func (set *HashSet) String() string

String

func (*HashSet) Values

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

Values

Jump to

Keyboard shortcuts

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