Documentation
¶
Index ¶
- type ArrayList
- func (arrayP *ArrayList[E]) Append(elem E)
- func (arrayP *ArrayList[E]) AppendAll(elemsToAppend ...E)
- func (arrayP *ArrayList[E]) Contains(elem E) bool
- func (arrayP *ArrayList[E]) Each(f func(E))
- func (arrayP *ArrayList[E]) Insert(index int, elem E)
- func (arrayP *ArrayList[E]) InsertAll(index int, elemsToInsert ...E)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayList ¶
type ArrayList[E comparable] []E
func ArrayListOf ¶
func ArrayListOf[E comparable](elems []E) ArrayList[E]
func NewArrayList ¶
func NewArrayList[E comparable](initialCapacity int) ArrayList[E]
Click to show internal directories.
Click to hide internal directories.