(i, j int)
| 11 | } |
| 12 | |
| 13 | func (s *SortBy) Swap(i, j int) { |
| 14 | s.Array[i], s.Array[j] = s.Array[j], s.Array[i] |
| 15 | s.Values[i], s.Values[j] = s.Values[j], s.Values[i] |
| 16 | } |
| 17 | |
| 18 | func (s *SortBy) Less(i, j int) bool { |
| 19 | a, b := s.Values[i], s.Values[j] |
nothing calls this directly
no outgoing calls
no test coverage detected