Versions in this module Expand all Collapse all v1 v1.3.3 Oct 2, 2014 v1.3.1 Aug 21, 2014 Changes in this version + func Float64s(a []float64) + func Float64sAreSorted(a []float64) bool + func Ints(a []int) + func IntsAreSorted(a []int) bool + func IsSorted(data Interface) bool + func Search(n int, f func(int) bool) int + func SearchFloat64s(a []float64, x float64) int + func SearchInts(a []int, x int) int + func SearchStrings(a []string, x string) int + func Sort(data Interface) + func Stable(data Interface) + func Strings(a []string) + func StringsAreSorted(a []string) bool + type Float64Slice []float64 + func (p Float64Slice) Len() int + func (p Float64Slice) Less(i, j int) bool + func (p Float64Slice) Search(x float64) int + func (p Float64Slice) Sort() + func (p Float64Slice) Swap(i, j int) + type IntSlice []int + func (p IntSlice) Len() int + func (p IntSlice) Less(i, j int) bool + func (p IntSlice) Search(x int) int + func (p IntSlice) Sort() + func (p IntSlice) Swap(i, j int) + type Interface interface + Len func() int + Less func(i, j int) bool + Swap func(i, j int) + func Reverse(data Interface) Interface + type StringSlice []string + func (p StringSlice) Len() int + func (p StringSlice) Less(i, j int) bool + func (p StringSlice) Search(x string) int + func (p StringSlice) Sort() + func (p StringSlice) Swap(i, j int)