Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyIterator = emptyIterator{}
Functions ¶
func Sort ¶
func Sort(begin, end RandomAccessIterator, less CompareFunc, native []int)
Types ¶
type CompareFunc ¶
type CompareFunc func(left, right interface{}) bool
type RandomAccessIterator ¶
type RandomAccessIterator interface {
Iterator
Add(n int) RandomAccessIterator
Diff(iter RandomAccessIterator) int
Get() interface{}
Set(v interface{})
Value(i int) reflect.Value
}
func IterFromSlice ¶
func IterFromSlice(slice interface{}) RandomAccessIterator
$zcheck: slice IS SLICE
Click to show internal directories.
Click to hide internal directories.