crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
2a583dd8
ROOT
/
go
/
libraries
/
utils
/
set
/
strset.go
Search
History
212 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
StrSet
items
:
map[string]bool
caseSensitive
:
bool
newStrSet
(items []string, caseSensitive bool)
:
*StrSet
NewEmptyStrSet
()
:
*StrSet
NewStrSet
(items []string)
:
*StrSet
NewCaseInsensitiveStrSet
(items []string)
:
*StrSet
Unique
(strs []string)
:
[]string
*StrSet
Add
(items ...string)
Remove
(items ...string)
Contains
(item string)
:
bool
ContainsAll
(items []string)
:
bool
Equals
(other *StrSet)
:
bool
Size
()
:
int
AsSlice
()
:
[]string
AsSortedSlice
()
:
[]string
Iterate
(callBack func(string) (cont bool))
LeftIntersectionRight
(other *StrSet)
:
(left *StrSet, intersection *StrSet, right *StrSet)
JoinStrings
(sep string)
:
string
All occurrences
Please wait...
Page is in error, reload to recover