Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hierarchy ¶
type Hierarchy[ID constraints.Integer, Name comparable] struct { *bimap.Bimap[Key[ID, Name], ID] Children map[ID]*lset.Set[Name] MaxID ID }
func New ¶
func New[ID constraints.Integer, Name comparable](size int) *Hierarchy[ID, Name]
type Key ¶
type Key[ID, Name comparable] struct { ID ID Name Name }
Click to show internal directories.
Click to hide internal directories.