arraylist

package
v0.0.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayList

type ArrayList[T any] []T

func New

func New[T any](capacity int) ArrayList[T]

func (ArrayList[T]) First

func (l ArrayList[T]) First() (T, bool)

func (ArrayList[T]) Last

func (l ArrayList[T]) Last() (T, bool)

func (ArrayList[T]) Len

func (l ArrayList[T]) Len() int

func (*ArrayList[T]) Pop

func (a *ArrayList[T]) Pop() (T, bool)

func (*ArrayList[T]) Push

func (a *ArrayList[T]) Push(v T)

Jump to

Keyboard shortcuts

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