array

package
v0.0.0-...-0f051d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArraySort

func ArraySort(numArray [][]int, firstIndex int) [][]int

按指定规则对numArray进行排序

Types

type IntArray

type IntArray struct {
	// contains filtered or unexported fields
}

func (*IntArray) Len

func (arr *IntArray) Len() int

IntArray实现sort.Interface接口

func (*IntArray) Less

func (arr *IntArray) Less(i, j int) bool

func (*IntArray) Swap

func (arr *IntArray) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL