set

package
v0.0.0-...-034ee8e Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOrdinarySet

func NewOrdinarySet(capacity int) *ordinarySet

Types

type AbstractSet

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

func (*AbstractSet) ToString

func (s *AbstractSet) ToString() string

type Set

type Set interface {
	IsEmpty() bool
	Size() int
	Add(interface{})
	Remove(interface{}) interface{}
	ToString() string
	Contains(interface{}) bool
	ContainsAll([]interface{}) bool
}

Jump to

Keyboard shortcuts

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