Versions in this module Expand all Collapse all v0 v0.19.0 Dec 1, 2023 v0.17.2 Dec 1, 2023 Changes in this version + type Set struct + func NewWithHash[T, H comparable](hashFunc func(T) H, items ...T) *Set[T, H] + func New[T comparable](items ...T) *Set[T, T] + func (s *Set[T, H]) Append(items ...T) + func (s *Set[T, H]) Clear() + func (s *Set[T, H]) Empty() bool + func (s *Set[T, H]) Has(item T) bool + func (s *Set[T, H]) Items() []T + func (s *Set[T, H]) ItemsMutable() []T + func (s *Set[T, H]) Length() int + func (s *Set[T, H]) Prepend(items ...T) + func (s *Set[T, H]) String() string + type SimpleSet struct + func NewSimpleSetWithHash[T comparable, HashType comparable](hashFunc func(T) HashType, items ...T) *SimpleSet[T, HashType] + func NewSimpleSet[T comparable](items ...T) *SimpleSet[T, T] + func (s *SimpleSet[T, H]) Append(items ...T) + func (s *SimpleSet[T, H]) Clear() + func (s *SimpleSet[T, H]) Empty() bool + func (s *SimpleSet[T, H]) Has(item T) bool + func (s *SimpleSet[T, H]) Items() []T + func (s *SimpleSet[T, H]) ItemsMutable() []T + func (s *SimpleSet[T, H]) Length() int + func (s *SimpleSet[T, H]) Prepend(items ...T) + func (s *SimpleSet[T, H]) String() string