MCPcopy Create free account
hub / github.com/lxn/walk / Less

Method Less

maptablemodel.go:68–72  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

66}
67
68func (m *mapTableModel) Less(i, j int) bool {
69 col := m.SortedColumn()
70
71 return less(m.Value(i, col), m.Value(j, col), m.SortOrder())
72}
73
74func (m *mapTableModel) Swap(i, j int) {
75 m.items[i], m.items[j] = m.items[j], m.items[i]

Callers

nothing calls this directly

Calls 4

ValueMethod · 0.95
lessFunction · 0.85
SortedColumnMethod · 0.65
SortOrderMethod · 0.65

Tested by

no test coverage detected