package stringset

Import Path
	golang.org/x/text/internal/stringset (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package stringset provides a way to represent a collection of strings compactly.
Package-Level Type Names (total 2)
/* sort by: | */
A Builder constructs Sets. Add adds a string to the index. Strings that are added by a single Add will be stored together, unless they match an existing string. Index returns the index for the given string, which must have been added before. Set creates the set created so far. func NewBuilder() *Builder
A Set holds a collection of strings that can be looked up by an index number. Data string Index []uint16 Elem returns the string with index i. It panics if i is out of range. Len returns the number of strings in the set. func (*Builder).Set() Set func Search(s *Set, str string) int
Package-Level Functions (total 2)
NewBuilder returns a new and initialized Builder.