Documentation
¶
Index ¶
- type Set
- func (set *Set[T]) Add(v T) *Set[T]
- func (set *Set[T]) All() iter.Seq[T]
- func (set *Set[T]) Clear() *Set[T]
- func (set *Set[T]) Delete(v T) *Set[T]
- func (set *Set[T]) Entries() iter.Seq2[T, T]
- func (set *Set[T]) Has(v T) bool
- func (set *Set[T]) Keys() iter.Seq[T]
- func (set *Set[T]) Size() int
- func (set *Set[T]) Values() iter.Seq[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.