Versions in this module Expand all Collapse all v1 v1.0.0 Mar 29, 2020 Changes in this version + func Fix(h sort.Interface, index int) + func FixF(Len int, Less func(i, j int) bool, Swap func(i, j int), index int) + func Init(h sort.Interface) + func InitF(Len int, Less func(i, j int) bool, Swap func(i, j int)) + func PopToLast(h sort.Interface) + func PopToLastF(Len int, Less func(i, j int) bool, Swap func(i, j int)) + func PushLast(h sort.Interface) + func PushLastF(Len int, Less func(i, j int) bool, Swap func(i, j int)) + func RemoveToLast(h sort.Interface, i int) + func RemoveToLastF(Len int, Less func(i, j int) bool, Swap func(i, j int), i int) + type Float64s struct + func NewFloat64s(less func(x, y float64) bool, cap int) *Float64s + func (h *Float64s) Len() int + func (h *Float64s) Peek() float64 + func (h *Float64s) Pop() float64 + func (h *Float64s) PopAll() []float64 + func (h *Float64s) Push(x float64) + type Interfaces interface + Len func() int + Peek func() interface{} + Pop func() interface{} + PopAll func() []interface{} + Push func(x interface{}) + TopNPopAll func() []interface{} + TopNPush func(x interface{}) + func NewInterfaces(less func(x, y interface{}) bool, cap int) Interfaces + type Ints struct + func NewInts(less func(x, y int) bool, cap int) *Ints + func (h *Ints) Len() int + func (h *Ints) Peek() int + func (h *Ints) Pop() int + func (h *Ints) PopAll() []int + func (h *Ints) Push(x int) + type Strings struct + func NewStrings(less func(x, y string) bool, cap int) *Strings + func (h *Strings) Len() int + func (h *Strings) Peek() string + func (h *Strings) Pop() string + func (h *Strings) PopAll() []string + func (h *Strings) Push(x string)