Documentation ¶
Index ¶
- type ConcurrentSets
- func (r *ConcurrentSets) Exists(t string) (ok bool)
- func (r *ConcurrentSets) ExistsAll(t ...string) (ok bool)
- func (r *ConcurrentSets) ExistsAny(t ...string) (ok bool)
- func (r *ConcurrentSets) ForEach(accept func(key string))
- func (r *ConcurrentSets) Length() int
- func (r *ConcurrentSets) Put(s string)
- func (r *ConcurrentSets) PutAll(arr ...string)
- func (r *ConcurrentSets) Remove(s string)
- func (r *ConcurrentSets) RemoveAll(arr ...string)
- func (r *ConcurrentSets) ToArray() (arr []string)
- type List
- type Set
- type Sets
- func (r Sets) Exists(t string) (ok bool)
- func (r Sets) ExistsAll(t ...string) (ok bool)
- func (r Sets) ExistsAny(t ...string) (ok bool)
- func (r Sets) ForEach(accept func(key string))
- func (r Sets) Length() int
- func (r Sets) Put(s string)
- func (r Sets) PutAll(arr ...string)
- func (r Sets) Remove(s string)
- func (r Sets) RemoveAll(arr ...string)
- func (r Sets) ToArray() (arr []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentSets ¶ added in v1.3.7
type ConcurrentSets struct {
// contains filtered or unexported fields
}
func NewConcurrentSets ¶ added in v1.3.7
func NewConcurrentSets(arr ...string) (s *ConcurrentSets)
func (*ConcurrentSets) Exists ¶ added in v1.3.7
func (r *ConcurrentSets) Exists(t string) (ok bool)
func (*ConcurrentSets) ExistsAll ¶ added in v1.3.7
func (r *ConcurrentSets) ExistsAll(t ...string) (ok bool)
func (*ConcurrentSets) ExistsAny ¶ added in v1.3.7
func (r *ConcurrentSets) ExistsAny(t ...string) (ok bool)
func (*ConcurrentSets) ForEach ¶ added in v1.3.7
func (r *ConcurrentSets) ForEach(accept func(key string))
func (*ConcurrentSets) Length ¶ added in v1.3.7
func (r *ConcurrentSets) Length() int
func (*ConcurrentSets) Put ¶ added in v1.3.7
func (r *ConcurrentSets) Put(s string)
func (*ConcurrentSets) PutAll ¶ added in v1.3.7
func (r *ConcurrentSets) PutAll(arr ...string)
func (*ConcurrentSets) Remove ¶ added in v1.3.7
func (r *ConcurrentSets) Remove(s string)
func (*ConcurrentSets) RemoveAll ¶ added in v1.3.7
func (r *ConcurrentSets) RemoveAll(arr ...string)
func (*ConcurrentSets) ToArray ¶ added in v1.3.7
func (r *ConcurrentSets) ToArray() (arr []string)
type List ¶
type List struct {
// contains filtered or unexported fields
}
func (*List) ForEachWithStop ¶ added in v1.2.5
Click to show internal directories.
Click to hide internal directories.