Versions in this module Expand all Collapse all v0 v0.1.11 Oct 3, 2023 v0.1.10 Oct 2, 2023 Changes in this version + type AdvancedSet struct + func NewAdvancedSet(elements ...T) *AdvancedSet[T] + func (t *AdvancedSet[T]) Add(element T) (added bool) + func (t *AdvancedSet[T]) AddAll(elements *AdvancedSet[T]) (added bool) + func (t *AdvancedSet[T]) Clone() (cloned *AdvancedSet[T]) + func (t *AdvancedSet[T]) Delete(element T) (deleted bool) + func (t *AdvancedSet[T]) DeleteAll(other *AdvancedSet[T]) (removedElements *AdvancedSet[T]) + func (t *AdvancedSet[T]) Equal(other *AdvancedSet[T]) (equal bool) + func (t *AdvancedSet[T]) Filter(predicate func(element T) bool) (filtered *AdvancedSet[T]) + func (t *AdvancedSet[T]) ForEach(callback func(element T) (err error)) (err error) + func (t *AdvancedSet[T]) HasAll(other *AdvancedSet[T]) (hasAll bool) + func (t *AdvancedSet[T]) Intersect(other *AdvancedSet[T]) (intersection *AdvancedSet[T]) + func (t *AdvancedSet[T]) Is(element T) bool + func (t *AdvancedSet[T]) IsEmpty() (empty bool) + func (t *AdvancedSet[T]) Iterator() *walker.Walker[T] + func (t *AdvancedSet[T]) Slice() (slice []T) + func (t *AdvancedSet[T]) String() (humanReadable string) + type Set interface + Add func(element T) bool + Clear func() + Delete func(element T) bool + ForEach func(callback func(element T)) + Has func(element T) bool + Size func() int + func New(threadSafe ...bool) Set[T]