Documentation
¶
Index ¶
- type ArrayList
- func (list *ArrayList[T]) Add(item T)
- func (list *ArrayList[T]) AddAll(items ...T)
- func (list *ArrayList[T]) Get(index int) T
- func (list *ArrayList[T]) IndexOf(item T) int
- func (list *ArrayList[T]) LastIndexOf(item T) int
- func (list *ArrayList[T]) Remove(index int)
- func (list *ArrayList[T]) Set(index int, item T)
- func (list *ArrayList[T]) Size() int
- func (list *ArrayList[T]) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayList ¶
type ArrayList[T comparable] struct { // contains filtered or unexported fields }
func NewArrayList ¶
func NewArrayList[T comparable]() *ArrayList[T]
func (*ArrayList[T]) LastIndexOf ¶
Click to show internal directories.
Click to hide internal directories.