Documentation
¶
Index ¶
- type ArrayList
- func (l ArrayList) At(index int) (element any, err error)
- func (l *ArrayList) Clear() *ArrayList
- func (l ArrayList) Concat(another ArrayList) ArrayList
- func (l ArrayList) Copy() ArrayList
- func (l ArrayList) Count(element any) (count int)
- func (l ArrayList) Empty() bool
- func (l ArrayList) Equal(another ArrayList) bool
- func (l ArrayList) Every(condition func(any) bool) bool
- func (l *ArrayList) Fill(element any, area ...int) *ArrayList
- func (l ArrayList) Filter(condition func(any) bool) ArrayList
- func (l ArrayList) Find(by func(any) bool) (element any, found bool)
- func (l ArrayList) FindIndex(by func(any) bool) (index int)
- func (l ArrayList) FindIndexes(by func(any) bool, counts ...int) (indexes []int)
- func (l ArrayList) FindLast(by func(any) bool) (element any, found bool)
- func (l ArrayList) FindLastIndex(by func(any) bool) (index int)
- func (l ArrayList) FindLastIndexes(by func(any) bool, counts ...int) (indexes []int)
- func (l ArrayList) FindLasts(by func(any) bool, counts ...int) (elements []any)
- func (l ArrayList) Finds(by func(any) bool, counts ...int) (elements []any)
- func (l *ArrayList) ForEach(action func(any) any) *ArrayList
- func (l ArrayList) Head() (element any, err error)
- func (l ArrayList) Includes(element any) bool
- func (l ArrayList) IndexOf(element any) (index int)
- func (l *ArrayList) Insert(index int, element any) *ArrayList
- func (l ArrayList) LastIndexOf(element any) (index int)
- func (l ArrayList) Len() int
- func (l ArrayList) Map(handler func(any) any) ArrayList
- func (l *ArrayList) Pop(indexes ...int) (element any, err error)
- func (l *ArrayList) Push(elements ...any) (length int)
- func (l ArrayList) Reduce(handler func(any, any) any, initial ...any) (result any, err error)
- func (l ArrayList) ReduceRight(handler func(any, any) any, initial ...any) (result any, err error)
- func (l *ArrayList) Remove(element any, counts ...int) *ArrayList
- func (l *ArrayList) RemoveIf(condition func(any) bool, counts ...int) ArrayList
- func (l *ArrayList) RemoveRight(element any, counts ...int) *ArrayList
- func (l *ArrayList) RemoveRightIf(condition func(any) bool, counts ...int) ArrayList
- func (l *ArrayList) Replace(oldElement, newElement any, counts ...int) *ArrayList
- func (l *ArrayList) ReplaceIf(condition func(any) bool, newElement any, counts ...int) ArrayList
- func (l *ArrayList) ReplaceRight(oldElement, newElement any, counts ...int) *ArrayList
- func (l *ArrayList) ReplaceRightIf(condition func(any) bool, newElement any, counts ...int) ArrayList
- func (l *ArrayList) Reverse() *ArrayList
- func (l *ArrayList) Set(index int, element any) (err error)
- func (l *ArrayList) Shift() (element any, err error)
- func (l ArrayList) Slice(args ...int) ArrayList
- func (l ArrayList) Some(condition func(any) bool) bool
- func (l *ArrayList) Splice(start, deleteCount int, items ...any) ArrayList
- func (l ArrayList) Tail() (element any, err error)
- func (l ArrayList) ToReversed() ArrayList
- func (l ArrayList) ToSpliced(start, deleteCount int, items ...any) ArrayList
- func (l *ArrayList) Unshift(elements ...any) (length int)
- func (l ArrayList) With(index int, element any) ArrayList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayList ¶
type ArrayList []any
func (ArrayList) FindIndexes ¶
func (ArrayList) FindLastIndexes ¶
func (ArrayList) LastIndexOf ¶
func (ArrayList) ReduceRight ¶
func (*ArrayList) RemoveRight ¶
func (*ArrayList) RemoveRightIf ¶
func (*ArrayList) ReplaceRight ¶
func (*ArrayList) ReplaceRightIf ¶
func (ArrayList) ToReversed ¶
Click to show internal directories.
Click to hide internal directories.