arraylist

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 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 {
	// contains filtered or unexported fields
}

func NewArrayList

func NewArrayList() *ArrayList

func (*ArrayList) Add

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

func (*ArrayList) AddAt

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

func (*ArrayList) Clear

func (list *ArrayList) Clear()

func (*ArrayList) Get

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

func (*ArrayList) IndexOf

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

func (*ArrayList) IsEmpty

func (list *ArrayList) IsEmpty() bool

func (*ArrayList) LastIndexOf

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

func (*ArrayList) Remove

func (list *ArrayList) Remove(index int)

func (*ArrayList) Set

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

func (*ArrayList) Size

func (list *ArrayList) Size() int

func (*ArrayList) String

func (list *ArrayList) String() string

func (*ArrayList) SubList

func (list *ArrayList) SubList(fromIndex, toIndex int) *ArrayList

func (*ArrayList) ToArray

func (list *ArrayList) ToArray() []interface{}

Jump to

Keyboard shortcuts

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