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(elements ...T) Set[T] Remove(elements T) Set[T] Has(element T) bool Elements() []T IterElements() iter.Iterator[T] Len() int IsEmpty() bool Equals(other Set[T]) bool Union(other Set[T]) Set[T] Intersection(other Set[T]) Set[T] Difference(other Set[T]) Set[T] SymmetricDifference(other Set[T]) Set[T] String() string }
Click to show internal directories.
Click to hide internal directories.