xint32Slice

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsInterface

func AsInterface(this []int32) []interface{}

func Contain

func Contain(arr []int32, item int32) bool

func Find

func Find(arr []int32, fn Int32ArrSearchFunc) int32

func FindIndex

func FindIndex(arr []int32, fn Int32ArrSearchFunc) int

func ForEach

func ForEach(arr []int32, fn Int32ArrForEachFunc)

func Join

func Join(arr []int32, sep string) string

func Map

func Map(arr []int32, fn Int32ArrMapFunc)

func Sort

func Sort(arr []int32, comparer ...ArrSortCompareFunc)

func String

func String(this []int32) string

Types

type TInt32Slice

type TInt32Slice []int32

func New

func New(src ...[]int32) TInt32Slice

func (*TInt32Slice) Append

func (iar *TInt32Slice) Append(item ...int32) int

func (*TInt32Slice) Clear

func (iar *TInt32Slice) Clear()

func (*TInt32Slice) Concat

func (iar *TInt32Slice) Concat(arrs ...[]int32) int

func (TInt32Slice) Contain

func (iar TInt32Slice) Contain(item int32) bool

func (*TInt32Slice) Delete

func (iar *TInt32Slice) Delete(index int) error

func (TInt32Slice) Find

func (iar TInt32Slice) Find(fn Int32ArrSearchFunc) int32

func (TInt32Slice) FindIndex

func (iar TInt32Slice) FindIndex(fn Int32ArrSearchFunc) int

func (TInt32Slice) ForEach

func (iar TInt32Slice) ForEach(fn Int32ArrForEachFunc)

func (*TInt32Slice) Insert

func (iar *TInt32Slice) Insert(index int, item int32) error

func (TInt32Slice) Join

func (iar TInt32Slice) Join(sep string) string

func (*TInt32Slice) Prepend

func (iar *TInt32Slice) Prepend(item ...int32) int

func (TInt32Slice) Size

func (iar TInt32Slice) Size() int

func (TInt32Slice) Sort

func (iar TInt32Slice) Sort(comparer ...ArrSortCompareFunc)

func (TInt32Slice) String

func (iar TInt32Slice) String() string

Jump to

Keyboard shortcuts

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