Searched refs:mapKeySorter (Results 1 – 2 of 2) sorted by relevance
855 s := mapKeySorter{vs: vs}877 type mapKeySorter struct { struct882 func (s mapKeySorter) Len() int { return len(s.vs) } argument883 func (s mapKeySorter) Swap(i, j int) { s.vs[i], s.vs[j] = s.vs[j], s.vs[i] } argument884 func (s mapKeySorter) Less(i, j int) bool { argument
893 s := mapKeySorter{vs: vs}915 type mapKeySorter struct { struct920 func (s mapKeySorter) Len() int { return len(s.vs) } argument921 func (s mapKeySorter) Swap(i, j int) { s.vs[i], s.vs[j] = s.vs[j], s.vs[i] } argument922 func (s mapKeySorter) Less(i, j int) bool { argument