set

package
v2.0.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StopIteration = errors.New("Stop iteration")
	RemoveItem    = errors.New("Remove item")
)

Functions

This section is empty.

Types

type Set

type Set interface {
	Len() int
	Add(interface{})
	AddAll(itemArray interface{})
	Discard(interface{})
	Clear()
	Contains(interface{}) bool
	Iter(func(item interface{}) error)
	Copy() Set
	Equals(Set) bool
	ContainsAll(Set) bool
}

func Empty

func Empty() Set

func From

func From(members ...interface{}) Set

func FromArray

func FromArray(membersArray interface{}) Set

func New

func New() Set

Jump to

Keyboard shortcuts

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