type github.com/emirpasic/gods/utils.Comparator
8 uses
github.com/emirpasic/gods/utils (current package)
comparator.go#L16: type Comparator func(a, b interface{}) int
sort.go#L12: func Sort(values []interface{}, comparator Comparator) {
sort.go#L18: comparator Comparator
github.com/emirpasic/gods/containers
containers.go#L28: func GetSortedValues(container Container, comparator utils.Comparator) []interface{} {
github.com/emirpasic/gods/lists
lists.go#L23: Sort(comparator utils.Comparator)
github.com/emirpasic/gods/lists/arraylist
arraylist.go#L136: func (list *List) Sort(comparator utils.Comparator) {
github.com/emirpasic/gods/trees/binaryheap
binaryheap.go#L29: Comparator utils.Comparator
binaryheap.go#L33: func NewWith(comparator utils.Comparator) *Heap {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |