Documentation ¶
Index ¶
- type Set
- func (s *Set[T]) Clear()
- func (s *Set[T]) Copy() Set[T]
- func (s *Set[T]) Has(value T) bool
- func (s *Set[T]) HasAll(values ...T) bool
- func (s *Set[T]) HasAny(values ...T) bool
- func (s *Set[T]) Len() int
- func (s *Set[T]) Set(values ...T)
- func (s *Set[T]) Unset(values ...T)
- func (s *Set[T]) Values() []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.