mapset

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package mapset provides a reasonable map-based set implementation for use in comparative benchmarks, and to check arbitrary fuzz outputs. mapset is not intended for reuse.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set map[int]struct{}

func New

func New(s []int) Set

func (Set) Copy

func (s Set) Copy() Set

func (Set) Diff

func (s Set) Diff(t Set) Set

func (Set) Elems

func (s Set) Elems() []int

func (Set) Inter

func (s Set) Inter(t Set) Set

func (Set) IsEqual

func (s Set) IsEqual(t Set) bool

func (Set) IsInter

func (s Set) IsInter(t Set) bool

func (Set) IsSub

func (s Set) IsSub(t Set) bool

func (Set) IsSuper

func (s Set) IsSuper(t Set) bool

func (Set) SymDiff

func (s Set) SymDiff(t Set) Set

func (Set) Union

func (s Set) Union(t Set) Set

Jump to

Keyboard shortcuts

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