Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkipList ¶
type SkipList[T constraints.Ordered] interface { Add(T) // Removes and returns true if exists, no-op and returns false otherwise Remove(T) bool Search(T) bool ToSlice() []T }
func NewSkipList ¶
func NewSkipList[T constraints.Ordered](minVal, maxVal T) SkipList[T]
Click to show internal directories.
Click to hide internal directories.