Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatUnit ¶
Types ¶
type SortedList ¶
type SortedList[T any] struct { // contains filtered or unexported fields }
func NewSortedList ¶
func NewSortedList[T any](capacity int, compare func(a T, b T) int) *SortedList[T]
func (*SortedList[T]) Insert ¶
func (s *SortedList[T]) Insert(value T)
func (*SortedList[T]) Values ¶
func (s *SortedList[T]) Values() iter.Seq[T]
Click to show internal directories.
Click to hide internal directories.