set

package
v0.0.0-...-a3fd192 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set interface {
	Exist(item any) bool
	Insert(item ...any)
	Delete(item ...any)
	Len() int
	List() []any
}

func NewSet

func NewSet() Set

type SetImpl

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

func (*SetImpl) Delete

func (s *SetImpl) Delete(items ...any)

func (*SetImpl) Exist

func (s *SetImpl) Exist(item any) bool

func (*SetImpl) Insert

func (s *SetImpl) Insert(items ...any)

func (*SetImpl) Len

func (s *SetImpl) Len() int

func (*SetImpl) List

func (s *SetImpl) List() []any

func (*SetImpl) String

func (s *SetImpl) String() string

Jump to

Keyboard shortcuts

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