int16Array

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 []int16) []interface{}

func Contain

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

func Find

func Find(arr []int16, fn Int16ArrSearchFunc) int16

func FindIndex

func FindIndex(arr []int16, fn Int16ArrSearchFunc) int

func ForEach

func ForEach(arr []int16, fn Int16ArrForEachFunc)

func Join

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

func Map

func Map(arr []int16, fn Int16ArrMapFunc)

func Sort

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

func String

func String(this []int16) string

Types

type TInt16Slice

type TInt16Slice []int16

func New

func New(src ...[]int16) TInt16Slice

func (*TInt16Slice) Append

func (iar *TInt16Slice) Append(item ...int16) int

func (*TInt16Slice) Clear

func (iar *TInt16Slice) Clear()

func (*TInt16Slice) Concat

func (iar *TInt16Slice) Concat(arrs ...[]int16) int

func (TInt16Slice) Contain

func (iar TInt16Slice) Contain(item int16) bool

func (*TInt16Slice) Delete

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

func (TInt16Slice) Find

func (iar TInt16Slice) Find(fn Int16ArrSearchFunc) int16

func (TInt16Slice) FindIndex

func (iar TInt16Slice) FindIndex(fn Int16ArrSearchFunc) int

func (TInt16Slice) ForEach

func (iar TInt16Slice) ForEach(fn Int16ArrForEachFunc)

func (*TInt16Slice) Insert

func (iar *TInt16Slice) Insert(index int, item int16) error

func (TInt16Slice) Join

func (iar TInt16Slice) Join(sep string) string

func (*TInt16Slice) Prepend

func (iar *TInt16Slice) Prepend(item ...int16) int

func (TInt16Slice) Size

func (iar TInt16Slice) Size() int

func (TInt16Slice) Sort

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

func (TInt16Slice) String

func (iar TInt16Slice) String() string

Jump to

Keyboard shortcuts

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