Documentation
¶
Overview ¶
(TOC) This package provides a sorted slice, maintaining order using binary search.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
This section is empty.
Types ¶
type SortedSlice ¶
func (*SortedSlice[E]) Delete ¶
func (me *SortedSlice[E]) Delete(element E) bool
func (*SortedSlice[E]) Equal ¶
func (me *SortedSlice[E]) Equal(other SortedSlice[E]) bool
func (*SortedSlice[E]) Find ¶
func (me *SortedSlice[E]) Find(element E) int
func (*SortedSlice[E]) Insert ¶
func (me *SortedSlice[E]) Insert(element E) bool
func (*SortedSlice[E]) Len ¶
func (me *SortedSlice[E]) Len() int
Click to show internal directories.
Click to hide internal directories.