Documentation ¶
Index ¶
- func AsInterface(this []int32) []interface{}
- func Contain(arr []int32, item int32) bool
- func Find(arr []int32, fn Int32ArrSearchFunc) int32
- func FindIndex(arr []int32, fn Int32ArrSearchFunc) int
- func ForEach(arr []int32, fn Int32ArrForEachFunc)
- func Join(arr []int32, sep string) string
- func Map(arr []int32, fn Int32ArrMapFunc)
- func Sort(arr []int32, comparer ...ArrSortCompareFunc)
- func String(this []int32) string
- type TInt32Slice
- func (iar *TInt32Slice) Append(item ...int32) int
- func (iar *TInt32Slice) Clear()
- func (iar *TInt32Slice) Concat(arrs ...[]int32) int
- func (iar TInt32Slice) Contain(item int32) bool
- func (iar *TInt32Slice) Delete(index int) error
- func (iar TInt32Slice) Find(fn Int32ArrSearchFunc) int32
- func (iar TInt32Slice) FindIndex(fn Int32ArrSearchFunc) int
- func (iar TInt32Slice) ForEach(fn Int32ArrForEachFunc)
- func (iar *TInt32Slice) Insert(index int, item int32) error
- func (iar TInt32Slice) Join(sep string) string
- func (iar *TInt32Slice) Prepend(item ...int32) int
- func (iar TInt32Slice) Size() int
- func (iar TInt32Slice) Sort(comparer ...ArrSortCompareFunc)
- func (iar TInt32Slice) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsInterface ¶
func AsInterface(this []int32) []interface{}
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) 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
Click to show internal directories.
Click to hide internal directories.