Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] interface { Add(val T) bool Remove(val T) (T, bool) Clear() Size() int Slice() []T Contains(val T) bool Clone() Set[T] }
func NewOrderedSet ¶
func NewOrderedSet[T comparable]() Set[T]
func NewSet ¶
func NewSet[T comparable]() Set[T]
Click to show internal directories.
Click to hide internal directories.