Documentation
¶
Overview ¶
Package set
Index ¶
- type Set
- func (s Set[T]) Add(keyList ...T) Set[T]
- func (s Set[T]) Del(keyList ...T) Set[T]
- func (s Set[T]) Difference(other Set[T]) Set[T]
- func (s Set[T]) Empty() bool
- func (s Set[K]) Has(key K) bool
- func (s Set[T]) Intersection(other Set[T]) Set[T]
- func (s Set[T]) Size() int
- func (s Set[T]) ToList() []T
- func (s Set[T]) Union(other Set[T]) Set[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.