gset

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 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
}

func NewHashSet

func NewHashSet() *HashSet

func (*HashSet) Add

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

func (*HashSet) Clear

func (s *HashSet) Clear()

Clear clears all values in the set.

func (*HashSet) Contains

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

func (*HashSet) Remove

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

type HashSetBK

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

func NewHashSetBK

func NewHashSetBK() *HashSetBK

func (*HashSetBK) Add

func (s *HashSetBK) Add(items ...interface{})

func (*HashSetBK) Clear

func (s *HashSetBK) Clear()

Clear clears all values in the set.

func (*HashSetBK) Contains

func (s *HashSetBK) Contains(items ...interface{}) bool

func (*HashSetBK) Remove

func (s *HashSetBK) Remove(items ...interface{})

func (*HashSetBK) Size

func (s *HashSetBK) Size() int

Jump to

Keyboard shortcuts

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