Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SafeSet ¶
type SafeSet[T comparable] interface { Values() []T Add(T) bool Delete(T) Contains(...T) bool Len() uint Clear() }
func NewSafeSet ¶
func NewSafeSet[T comparable]() SafeSet[T]
type Set ¶
type Set[T comparable] interface { Values() []T Add(T) bool Delete(T) Contains(...T) bool Len() uint Clear() }
func New ¶
func New[T comparable]() Set[T]
Click to show internal directories.
Click to hide internal directories.