uniquestrings

package
v0.0.184 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

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

Not thread safe.

func (*List) Add

func (dl *List) Add(v string) bool

Adds the specified string to the set. Returns true if the string was not present in the set.

func (*List) Clone

func (dl *List) Clone() List

func (*List) Has

func (dl *List) Has(v string) bool

func (*List) Len

func (dl *List) Len() int

func (*List) Strings

func (dl *List) Strings() []string

Jump to

Keyboard shortcuts

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