Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PresenceSet ¶
type PresenceSet[T comparable] map[T]struct{}
func NewPresenceSet ¶
func NewPresenceSet[T comparable](capacity int) PresenceSet[T]
func (PresenceSet[T]) Has ¶
func (ps PresenceSet[T]) Has(key T) bool
func (PresenceSet[T]) Set ¶
func (ps PresenceSet[T]) Set(key T)
Click to show internal directories.
Click to hide internal directories.