stringset

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSet

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

func New

func New(elements ...string) *StringSet

func (*StringSet) Add

func (set *StringSet) Add(ss ...string)

func (*StringSet) AddSet

func (set *StringSet) AddSet(set1 *StringSet)

func (*StringSet) Contain

func (ss *StringSet) Contain(s string) bool

func (*StringSet) Elements

func (ss *StringSet) Elements() []string

func (*StringSet) Equal

func (ss *StringSet) Equal(ss1 *StringSet) bool

func (*StringSet) JoinEscaped

func (ss *StringSet) JoinEscaped() string

Join escaped joins the elements of ss into one string and escapes '"'.

func (*StringSet) Len

func (ss *StringSet) Len() int

func (*StringSet) Remove

func (ss *StringSet) Remove(s string)

func (*StringSet) String

func (ss *StringSet) String() string

Jump to

Keyboard shortcuts

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