go_set

package module
v0.0.0-...-ef448a6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

README

go-set

Set implementation in golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

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

func NewSet

func NewSet(elems []int) *Set

func (*Set) Add

func (s *Set) Add(e int)

func (Set) Equals

func (s1 Set) Equals(s2 Set) bool

func (*Set) Update

func (s1 *Set) Update(s2 Set)

func (Set) Val

func (s Set) Val() []int

Jump to

Keyboard shortcuts

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