xuint16Slice

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

func Contain

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

func Find

func Find(arr []uint16, fn Uint16ArrSearchFunc) uint16

func FindIndex

func FindIndex(arr []uint16, fn Uint16ArrSearchFunc) int

func ForEach

func ForEach(arr []uint16, fn Uint16ArrForEachFunc)

func Join

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

func Map

func Map(arr []uint16, fn Uint16ArrMapFunc)

func Sort

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

func String

func String(this []uint16) string

Types

type TUint16Slice

type TUint16Slice []uint16

func New

func New(src ...[]uint16) TUint16Slice

func (*TUint16Slice) Append

func (iar *TUint16Slice) Append(item ...uint16) int

func (*TUint16Slice) Clear

func (iar *TUint16Slice) Clear()

func (*TUint16Slice) Concat

func (iar *TUint16Slice) Concat(arrs ...[]uint16) int

func (TUint16Slice) Contain

func (iar TUint16Slice) Contain(item uint16) bool

func (*TUint16Slice) Delete

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

func (TUint16Slice) Find

func (iar TUint16Slice) Find(fn Uint16ArrSearchFunc) uint16

func (TUint16Slice) FindIndex

func (iar TUint16Slice) FindIndex(fn Uint16ArrSearchFunc) int

func (TUint16Slice) ForEach

func (iar TUint16Slice) ForEach(fn Uint16ArrForEachFunc)

func (*TUint16Slice) Insert

func (iar *TUint16Slice) Insert(index int, item uint16) error

func (TUint16Slice) Join

func (iar TUint16Slice) Join(sep string) string

func (*TUint16Slice) Prepend

func (iar *TUint16Slice) Prepend(item ...uint16) int

func (TUint16Slice) Size

func (iar TUint16Slice) Size() int

func (TUint16Slice) Sort

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

func (TUint16Slice) String

func (iar TUint16Slice) String() string

Jump to

Keyboard shortcuts

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