arraylist

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 2 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 struct {
	Count    int
	Capacity int
	// contains filtered or unexported fields
}

func New

func New(capacity int) *ArrayList

func (*ArrayList) Add

func (list *ArrayList) Add(value interface{})

func (*ArrayList) Clear

func (list *ArrayList) Clear()

func (*ArrayList) Contains

func (list *ArrayList) Contains(item interface{}) bool

func (*ArrayList) GetValue

func (list *ArrayList) GetValue(index int) interface{}

func (*ArrayList) IndexOf

func (list *ArrayList) IndexOf(item interface{}) int

func (*ArrayList) Insert

func (list *ArrayList) Insert(index int, item interface{}) error

func (*ArrayList) Print

func (list *ArrayList) Print()

Jump to

Keyboard shortcuts

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