// Swap is needed for the sort interface to replace the Version objects
// at two different positions in the slice.
489350
func (c Collection) Swap(i, j int) {
	c[i], c[j] = c[j], c[i]
}
588517
func (u uintSlice) Swap(i, j int64) {
	u[i], u[j] = u[j], u[i]
}
1036602
func (is InterfaceStruct) Swap(i, j int) {
	is.SwapF(i, j)
}
617712
func (m resourceList) Swap(i, j int) {
	m[i], m[j] = m[j], m[i]
}
438255
func (c *serverAPIVersionMappingCollection) Swap(i, j int) {
	c.mappings[i], c.mappings[j] = c.mappings[j], c.mappings[i]
}
1335980
func (s SortedRoles) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
132016
func swap(u, w Comparators, index int) {
	for i := index; i < len(u); i++ {
		u[i], w[i-index] = w[i-index], u[i]
	}
}
1363543
func (p *pathHeap) Swap(i, j int) {
	p.paths[i], p.paths[j] = p.paths[j], p.paths[i]
}
925812
func (s Float64Slice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
464088
func (k *KeyBindings) Swap(i, j int) {
	k.Bindings[i], k.Bindings[j] = k.Bindings[j], k.Bindings[i]
}
678742
func (n *nodeSorter) Swap(i, j int) {
	n.Nodes[i], n.Nodes[j] = n.Nodes[j], n.Nodes[i]
	n.Vec[i], n.Vec[j] = n.Vec[j], n.Vec[i]
}
858518
func (s optionDescriptorSlice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
144159
func (n *checkServiceNodeSorter) Swap(i, j int) {
	n.Nodes[i], n.Nodes[j] = n.Nodes[j], n.Nodes[i]
	n.Vec[i], n.Vec[j] = n.Vec[j], n.Vec[i]
}
1302743
func (n *serviceNodeSorter) Swap(i, j int) {
	n.Nodes[i], n.Nodes[j] = n.Nodes[j], n.Nodes[i]
	n.Vec[i], n.Vec[j] = n.Vec[j], n.Vec[i]
}
425221
func (s Float32Slice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
998745
func (t Ticks) Swap(i, j int) {
	t[i], t[j] = t[j], t[i]
}
1175280
func (i *Int32) Swap(n int32) int32 {
	return atomic.SwapInt32(&i.v, n)
}