Array

package
v0.0.0-...-adc727d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	// contains filtered or unexported fields
}

func Constructor

func Constructor(capacity int) *Array

func (*Array) Add

func (this *Array) Add(index int, e interface{})

func (*Array) AddFirst

func (this *Array) AddFirst(e interface{})

func (*Array) AddLast

func (this *Array) AddLast(e interface{})

func (*Array) Contains

func (this *Array) Contains(e interface{}) bool

func (*Array) Find

func (this *Array) Find(e interface{}) int

func (*Array) FindAll

func (this *Array) FindAll(e interface{}) (indexes []int)

func (*Array) Get

func (this *Array) Get(index int) interface{}

func (*Array) GetCapacity

func (this *Array) GetCapacity() int

func (*Array) GetSize

func (this *Array) GetSize() int

func (*Array) IsEmpty

func (this *Array) IsEmpty() bool

func (*Array) Remove

func (this *Array) Remove(index int) interface{}

func (*Array) RemoveAllElement

func (this *Array) RemoveAllElement(e interface{}) bool

func (*Array) RemoveElement

func (this *Array) RemoveElement(e interface{}) bool

func (*Array) RemoveFirst

func (this *Array) RemoveFirst() interface{}

func (*Array) RemoveLast

func (this *Array) RemoveLast() interface{}

func (*Array) Set

func (this *Array) Set(index int, e interface{})

Jump to

Keyboard shortcuts

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