Documentation ¶
Overview ¶
Package oset provides the ordered set container implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[T comparable](elements []T) ordered.Set[T]
New instantiates Set and copies elements to it.
func Of ¶
func Of[T comparable](elements ...T) ordered.Set[T]
Of instantiates Set with predefined elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.