Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashSet ¶
type HashSet[E comparable] struct { // contains filtered or unexported fields }
type Set ¶
type Set[E comparable] interface { Add(e E) bool Contains(e E) bool Clear() IsEmpty() bool Size() int }
func Empty ¶
func Empty[E comparable]() Set[E]
func New ¶
func New[E comparable](elements ...E) Set[E]
Click to show internal directories.
Click to hide internal directories.